|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PriorityClass>
scheduler.configuration.PriorityClass
public enum PriorityClass
A representation of the literals of the enumeration 'Priority Class', and utility methods for working with them.
ConfigurationPackage.getPriorityClass()
Enum Constant Summary | |
---|---|
AVERAGE
The 'AVERAGE' literal object. |
|
DEFAULT
The 'DEFAULT' literal object. |
|
HIGH
The 'HIGH' literal object. |
|
HIGHEST
The 'HIGHEST' literal object. |
|
LOW
The 'LOW' literal object. |
|
LOWEST
The 'LOWEST' literal object. |
Field Summary | |
---|---|
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 | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PriorityClass LOWEST
LOWEST_VALUE
public static final PriorityClass LOW
LOW_VALUE
public static final PriorityClass AVERAGE
AVERAGE_VALUE
public static final PriorityClass HIGH
HIGH_VALUE
public static final PriorityClass HIGHEST
HIGHEST_VALUE
public static final PriorityClass DEFAULT
DEFAULT_VALUE
Field Detail |
---|
public static final int LOWEST_VALUE
If the meaning of 'LOWEST' literal object isn't clear, there really should be more of a description here...
LOWEST
,
Constant Field Valuespublic static final int LOW_VALUE
If the meaning of 'LOW' literal object isn't clear, there really should be more of a description here...
LOW
,
Constant Field Valuespublic static final int AVERAGE_VALUE
If the meaning of 'AVERAGE' literal object isn't clear, there really should be more of a description here...
AVERAGE
,
Constant Field Valuespublic static final int HIGH_VALUE
If the meaning of 'HIGH' literal object isn't clear, there really should be more of a description here...
HIGH
,
Constant Field Valuespublic static final int HIGHEST_VALUE
If the meaning of 'HIGHEST' literal object isn't clear, there really should be more of a description here...
HIGHEST
,
Constant Field Valuespublic 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 List<PriorityClass> VALUES
Method Detail |
---|
public static PriorityClass[] values()
for (PriorityClass c : PriorityClass.values()) System.out.println(c);
public static PriorityClass valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static PriorityClass get(String literal)
public static PriorityClass getByName(String name)
public static PriorityClass get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<PriorityClass>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |