Package scheduler.configuration
Enum PriorityClass
- java.lang.Object
-
- java.lang.Enum<PriorityClass>
-
- scheduler.configuration.PriorityClass
-
- All Implemented Interfaces:
Serializable
,Comparable<PriorityClass>
,Enumerator
public enum PriorityClass extends Enum<PriorityClass> implements Enumerator
A representation of the literals of the enumeration 'Priority Class', and utility methods for working with them.- See Also:
ConfigurationPackage.getPriorityClass()
- Generated class or method.
- EMF model class or method.
-
-
Field Summary
Fields Modifier and Type Field Description static int
AVERAGE_VALUE
The 'AVERAGE' literal value.static int
DEFAULT_VALUE
The 'DEFAULT' literal value.static int
HIGH_VALUE
The 'HIGH' literal value.static int
HIGHEST_VALUE
The 'HIGHEST' literal value.static int
LOW_VALUE
The 'LOW' literal value.static int
LOWEST_VALUE
The 'LOWEST' literal value.static List<PriorityClass>
VALUES
A public read-only list of all the 'Priority Class' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PriorityClass
get(int value)
Returns the 'Priority Class' literal with the specified integer value.static PriorityClass
get(String literal)
Returns the 'Priority Class' literal with the specified literal value.static PriorityClass
getByName(String name)
Returns the 'Priority Class' 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 PriorityClass
valueOf(String name)
Returns the enum constant of this type with the specified name.static PriorityClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOWEST
public static final PriorityClass LOWEST
The 'LOWEST' literal object.- See Also:
LOWEST_VALUE
- Generated class or method.
- Ordered collection.
-
LOW
public static final PriorityClass LOW
The 'LOW' literal object.- See Also:
LOW_VALUE
- Generated class or method.
- Ordered collection.
-
AVERAGE
public static final PriorityClass AVERAGE
The 'AVERAGE' literal object.- See Also:
AVERAGE_VALUE
- Generated class or method.
- Ordered collection.
-
HIGH
public static final PriorityClass HIGH
The 'HIGH' literal object.- See Also:
HIGH_VALUE
- Generated class or method.
- Ordered collection.
-
HIGHEST
public static final PriorityClass HIGHEST
The 'HIGHEST' literal object.- See Also:
HIGHEST_VALUE
- Generated class or method.
- Ordered collection.
-
DEFAULT
public static final PriorityClass DEFAULT
The 'DEFAULT' literal object.- See Also:
DEFAULT_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
LOWEST_VALUE
public static final int LOWEST_VALUE
The 'LOWEST' literal value.If the meaning of 'LOWEST' literal object isn't clear, there really should be more of a description here...
- See Also:
LOWEST
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
LOW_VALUE
public static final int LOW_VALUE
The 'LOW' literal value.If the meaning of 'LOW' literal object isn't clear, there really should be more of a description here...
- See Also:
LOW
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
AVERAGE_VALUE
public static final int AVERAGE_VALUE
The 'AVERAGE' literal value.If the meaning of 'AVERAGE' literal object isn't clear, there really should be more of a description here...
- See Also:
AVERAGE
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
HIGH_VALUE
public static final int HIGH_VALUE
The 'HIGH' literal value.If the meaning of 'HIGH' literal object isn't clear, there really should be more of a description here...
- See Also:
HIGH
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
HIGHEST_VALUE
public static final int HIGHEST_VALUE
The 'HIGHEST' literal value.If the meaning of 'HIGHEST' literal object isn't clear, there really should be more of a description here...
- See Also:
HIGHEST
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
DEFAULT_VALUE
public static final int DEFAULT_VALUE
The 'DEFAULT' literal value.If the meaning of 'DEFAULT' literal object isn't clear, there really should be more of a description here...
- See Also:
DEFAULT
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
public static final List<PriorityClass> VALUES
A public read-only list of all the 'Priority Class' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static PriorityClass[] 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 (PriorityClass c : PriorityClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PriorityClass 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 PriorityClass get(String literal)
Returns the 'Priority Class' literal with the specified literal value.- Generated class or method.
-
getByName
public static PriorityClass getByName(String name)
Returns the 'Priority Class' literal with the specified name.- Generated class or method.
-
get
public static PriorityClass get(int value)
Returns the 'Priority Class' 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<PriorityClass>
- Generated class or method.
-
-