public enum ServerState extends Enum<ServerState> implements org.eclipse.emf.common.util.Enumerator
StorePackage.getServerState()| Enum Constant and Description |
|---|
FATAL_ERROR
The 'FATAL ERROR' literal object.
|
MIGRATION_IMPOSSIBLE
The 'MIGRATION IMPOSSIBLE' literal object.
|
MIGRATION_REQUIRED
The 'MIGRATION REQUIRED' literal object.
|
NOT_SETUP
The 'NOT SETUP' literal object.
|
RUNNING
The 'RUNNING' literal object.
|
SETUP
The 'SETUP' literal object.
|
UNDEFINED
The 'UNDEFINED' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FATAL_ERROR_VALUE
The 'FATAL ERROR' literal value.
|
static int |
MIGRATION_IMPOSSIBLE_VALUE
The 'MIGRATION IMPOSSIBLE' literal value.
|
static int |
MIGRATION_REQUIRED_VALUE
The 'MIGRATION REQUIRED' literal value.
|
static int |
NOT_SETUP_VALUE
The 'NOT SETUP' literal value.
|
static int |
RUNNING_VALUE
The 'RUNNING' literal value.
|
static int |
SETUP_VALUE
The 'SETUP' literal value.
|
static int |
UNDEFINED_VALUE
The 'UNDEFINED' literal value.
|
static List<ServerState> |
VALUES
A public read-only list of all the 'Server State' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerState |
get(int value)
Returns the 'Server State' literal with the specified integer value.
|
static ServerState |
get(String literal)
Returns the 'Server State' literal with the specified literal value.
|
static ServerState |
getByName(String name)
Returns the 'Server State' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static ServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerState UNDEFINED
UNDEFINED_VALUEpublic static final ServerState NOT_SETUP
NOT_SETUP_VALUEpublic static final ServerState SETUP
SETUP_VALUEpublic static final ServerState MIGRATION_REQUIRED
MIGRATION_REQUIRED_VALUEpublic static final ServerState MIGRATION_IMPOSSIBLE
MIGRATION_IMPOSSIBLE_VALUEpublic static final ServerState FATAL_ERROR
FATAL_ERROR_VALUEpublic static final ServerState RUNNING
RUNNING_VALUEpublic static final int UNDEFINED_VALUE
If the meaning of 'UNDEFINED' literal object isn't clear, there really should be more of a description here...
UNDEFINED,
Constant Field Valuespublic static final int NOT_SETUP_VALUE
If the meaning of 'NOT SETUP' literal object isn't clear, there really should be more of a description here...
NOT_SETUP,
Constant Field Valuespublic static final int SETUP_VALUE
If the meaning of 'SETUP' literal object isn't clear, there really should be more of a description here...
SETUP,
Constant Field Valuespublic static final int MIGRATION_REQUIRED_VALUE
If the meaning of 'MIGRATION REQUIRED' literal object isn't clear, there really should be more of a description here...
MIGRATION_REQUIRED,
Constant Field Valuespublic static final int MIGRATION_IMPOSSIBLE_VALUE
If the meaning of 'MIGRATION IMPOSSIBLE' literal object isn't clear, there really should be more of a description here...
MIGRATION_IMPOSSIBLE,
Constant Field Valuespublic static final int FATAL_ERROR_VALUE
If the meaning of 'FATAL ERROR' literal object isn't clear, there really should be more of a description here...
FATAL_ERROR,
Constant Field Valuespublic static final int RUNNING_VALUE
If the meaning of 'RUNNING' literal object isn't clear, there really should be more of a description here...
RUNNING,
Constant Field Valuespublic static final List<ServerState> VALUES
public static ServerState[] values()
for (ServerState c : ServerState.values()) System.out.println(c);
public static ServerState 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 static ServerState get(String literal)
literal - the literal.null.public static ServerState getByName(String name)
name - the name.null.public static ServerState get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<ServerState>Copyright © 2018 OpenSource BIM. All rights reserved.