public enum ServerStatus extends java.lang.Enum<ServerStatus>
Modifier and Type | Method and Description |
---|---|
static ServerStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerStatus SESSION_EXPIRED
public static final ServerStatus NEW_MESSAGE
public static final ServerStatus LOGIN_FAILED
public static final ServerStatus LOGIN_SUCCESSFUL
public static final ServerStatus LOGOUT_SUCCESSFUL
public static final ServerStatus COMMAND_UNKNOWN
public static final ServerStatus PERMISSION_DENIED
public static final ServerStatus REGISTRATION_FAILED
public static final ServerStatus REGISTRATION_SUCCESSFUL
public static final ServerStatus MEMBER_JOINED
public static final ServerStatus ROLE_CHANGED
public static final ServerStatus POLL_CREATED
public static final ServerStatus POLL_FINISHED
public static final ServerStatus VOTE_SUCCESSFUL
public static final ServerStatus VOTE_FAILED
public static final ServerStatus PROFILE_CHANGE_SUCCESSFUL
public static final ServerStatus ERR_EXECUTING_COMMAND
public static final ServerStatus GROUP_CREATED
public static final ServerStatus MEMBER_LEFT
public static ServerStatus[] values()
for (ServerStatus c : ServerStatus.values()) System.out.println(c);
public static ServerStatus 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 null