public enum SessionUserType extends java.lang.Enum<SessionUserType>
| Enum Constant and Description |
|---|
CONTROLLER |
SUPERUSER |
USER |
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static SessionUserType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionUserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionUserType USER
public static final SessionUserType SUPERUSER
public static final SessionUserType CONTROLLER
public static SessionUserType[] values()
for (SessionUserType c : SessionUserType.values()) System.out.println(c);
public static SessionUserType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()