public enum PriorityDegradation extends Enum<PriorityDegradation> implements Enumerator
ConfigurationPackage.getPriorityDegradation()
Enum Constant and Description |
---|
RESET
The 'RESET' literal object.
|
SLOW_DECAY
The 'SLOW DECAY' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
RESET_VALUE
The 'RESET' literal value.
|
static int |
SLOW_DECAY_VALUE
The 'SLOW DECAY' literal value.
|
static List<PriorityDegradation> |
VALUES
A public read-only list of all the 'Priority Degradation' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static PriorityDegradation |
get(int value)
Returns the 'Priority Degradation' literal with the specified integer value.
|
static PriorityDegradation |
get(String literal)
Returns the 'Priority Degradation' literal with the specified literal value.
|
static PriorityDegradation |
getByName(String name)
Returns the 'Priority Degradation' 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 PriorityDegradation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PriorityDegradation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PriorityDegradation RESET
RESET_VALUE
public static final PriorityDegradation SLOW_DECAY
SLOW_DECAY_VALUE
public static final int RESET_VALUE
If the meaning of 'RESET' literal object isn't clear, there really should be more of a description here...
RESET
,
Constant Field Valuespublic static final int SLOW_DECAY_VALUE
If the meaning of 'SLOW DECAY' literal object isn't clear, there really should be more of a description here...
SLOW_DECAY
,
Constant Field Valuespublic static final List<PriorityDegradation> VALUES
public static PriorityDegradation[] values()
for (PriorityDegradation c : PriorityDegradation.values()) System.out.println(c);
public static PriorityDegradation 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 PriorityDegradation get(String literal)
public static PriorityDegradation getByName(String name)
public static PriorityDegradation get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<PriorityDegradation>