public enum StartupMechanism extends Enum<StartupMechanism> implements org.eclipse.emf.common.util.Enumerator
| Enum Constant and Description |
|---|
DEFAULT
The 'DEFAULT' literal object.
|
LSB_SYSV
The 'LSB SYSV' literal object.
|
REDHAT_SYSV
The 'REDHAT SYSV' literal object.
|
UPSTART
The 'UPSTART' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VALUE
The 'DEFAULT' literal value.
|
static int |
LSB_SYSV_VALUE
The 'LSB SYSV' literal value.
|
static int |
REDHAT_SYSV_VALUE
The 'REDHAT SYSV' literal value.
|
static int |
UPSTART_VALUE
The 'UPSTART' literal value.
|
static List<StartupMechanism> |
VALUES
A public read-only list of all the 'Startup Mechanism' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static StartupMechanism |
get(int value)
Returns the 'Startup Mechanism' literal with the specified integer value.
|
static StartupMechanism |
get(String literal)
Returns the 'Startup Mechanism' literal with the specified literal value.
|
static StartupMechanism |
getByName(String name)
Returns the 'Startup Mechanism' 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 StartupMechanism |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StartupMechanism[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartupMechanism DEFAULT
DEFAULT_VALUEpublic static final StartupMechanism UPSTART
UPSTART_VALUEpublic static final StartupMechanism REDHAT_SYSV
REDHAT_SYSV_VALUEpublic static final StartupMechanism LSB_SYSV
LSB_SYSV_VALUEpublic static final int DEFAULT_VALUE
If the meaning of 'DEFAULT' literal object isn't clear, there really should be more of a description here...
DEFAULT,
Constant Field Valuespublic static final int UPSTART_VALUE
If the meaning of 'UPSTART' literal object isn't clear, there really should be more of a description here...
UPSTART,
Constant Field Valuespublic static final int REDHAT_SYSV_VALUE
If the meaning of 'REDHAT SYSV' literal object isn't clear, there really should be more of a description here...
REDHAT_SYSV,
Constant Field Valuespublic static final int LSB_SYSV_VALUE
If the meaning of 'LSB SYSV' literal object isn't clear, there really should be more of a description here...
LSB_SYSV,
Constant Field Valuespublic static final List<StartupMechanism> VALUES
public static StartupMechanism[] values()
for (StartupMechanism c : StartupMechanism.values()) System.out.println(c);
public static StartupMechanism 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 StartupMechanism get(String literal)
literal - the literal.null.public static StartupMechanism getByName(String name)
name - the name.null.public static StartupMechanism 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<StartupMechanism>