Package org.apache.calcite.chinook
Enum EnvironmentFairy.User
- java.lang.Object
-
- java.lang.Enum<EnvironmentFairy.User>
-
- org.apache.calcite.chinook.EnvironmentFairy.User
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EnvironmentFairy.User>
- Enclosing class:
- EnvironmentFairy
public static enum EnvironmentFairy.User extends java.lang.Enum<EnvironmentFairy.User>
Who is emulated to being logged in?
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN
SPECIFIC_USER
-
Constructor Summary
Constructors Modifier Constructor Description private
User()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnvironmentFairy.User
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EnvironmentFairy.User[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMIN
public static final EnvironmentFairy.User ADMIN
-
SPECIFIC_USER
public static final EnvironmentFairy.User SPECIFIC_USER
-
-
Method Detail
-
values
public static EnvironmentFairy.User[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EnvironmentFairy.User c : EnvironmentFairy.User.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnvironmentFairy.User valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-