public enum ServerGxSessionState extends Enum<ServerGxSessionState> implements IAppSessionState<ServerGxSessionState>
| Modifier and Type | Method and Description |
|---|---|
ServerGxSessionState |
fromInt(int v) |
int |
getValue() |
static ServerGxSessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerGxSessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerGxSessionState IDLE
public static final ServerGxSessionState OPEN
public static ServerGxSessionState[] values()
for (ServerGxSessionState c : ServerGxSessionState.values()) System.out.println(c);
public static ServerGxSessionState 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 nullpublic ServerGxSessionState fromInt(int v) throws IllegalArgumentException
fromInt in interface IAppSessionState<ServerGxSessionState>IllegalArgumentExceptionpublic int getValue()
getValue in interface IAppSessionState<ServerGxSessionState>Copyright © 2016. All Rights Reserved.