Package scheduler.configuration
Enum PriorityDegradation
- java.lang.Object
-
- java.lang.Enum<PriorityDegradation>
-
- scheduler.configuration.PriorityDegradation
-
- All Implemented Interfaces:
Serializable
,Comparable<PriorityDegradation>
,Enumerator
public enum PriorityDegradation extends Enum<PriorityDegradation> implements Enumerator
A representation of the literals of the enumeration 'Priority Degradation', and utility methods for working with them.- See Also:
ConfigurationPackage.getPriorityDegradation()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESET
The 'RESET' literal object.SLOW_DECAY
The 'SLOW DECAY' literal object.
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
RESET
public static final PriorityDegradation RESET
The 'RESET' literal object.- See Also:
RESET_VALUE
- Generated class or method.
- Ordered collection.
-
SLOW_DECAY
public static final PriorityDegradation SLOW_DECAY
The 'SLOW DECAY' literal object.- See Also:
SLOW_DECAY_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
RESET_VALUE
public static final int RESET_VALUE
The 'RESET' literal value.If the meaning of 'RESET' literal object isn't clear, there really should be more of a description here...
- See Also:
RESET
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
SLOW_DECAY_VALUE
public static final int SLOW_DECAY_VALUE
The 'SLOW DECAY' literal value.If the meaning of 'SLOW DECAY' literal object isn't clear, there really should be more of a description here...
- See Also:
SLOW_DECAY
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
public static final List<PriorityDegradation> VALUES
A public read-only list of all the 'Priority Degradation' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static PriorityDegradation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PriorityDegradation c : PriorityDegradation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PriorityDegradation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static PriorityDegradation get(String literal)
Returns the 'Priority Degradation' literal with the specified literal value.- Generated class or method.
-
getByName
public static PriorityDegradation getByName(String name)
Returns the 'Priority Degradation' literal with the specified name.- Generated class or method.
-
get
public static PriorityDegradation get(int value)
Returns the 'Priority Degradation' literal with the specified integer value.- Generated class or method.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
- Generated class or method.
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
- Generated class or method.
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
- Generated class or method.
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<PriorityDegradation>
- Generated class or method.
-
-