public static enum UserSessionModel.State extends Enum<UserSessionModel.State>
Enum Constant and Description |
---|
LOGGED_IN |
LOGGED_OUT |
LOGGING_OUT |
Modifier and Type | Method and Description |
---|---|
static UserSessionModel.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserSessionModel.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserSessionModel.State LOGGED_IN
public static final UserSessionModel.State LOGGING_OUT
public static final UserSessionModel.State LOGGED_OUT
public static UserSessionModel.State[] values()
for (UserSessionModel.State c : UserSessionModel.State.values()) System.out.println(c);
public static UserSessionModel.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 JBoss by Red Hat. All rights reserved.