scheduler.configuration
Enum PriorityClass

java.lang.Object
  extended by java.lang.Enum<PriorityClass>
      extended by scheduler.configuration.PriorityClass
All Implemented Interfaces:
Serializable, Comparable<PriorityClass>

public enum PriorityClass
extends Enum<PriorityClass>

A representation of the literals of the enumeration 'Priority Class', and utility methods for working with them.

See Also:
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

LOWEST

public static final PriorityClass LOWEST
The 'LOWEST' literal object.

See Also:
LOWEST_VALUE

LOW

public static final PriorityClass LOW
The 'LOW' literal object.

See Also:
LOW_VALUE

AVERAGE

public static final PriorityClass AVERAGE
The 'AVERAGE' literal object.

See Also:
AVERAGE_VALUE

HIGH

public static final PriorityClass HIGH
The 'HIGH' literal object.

See Also:
HIGH_VALUE

HIGHEST

public static final PriorityClass HIGHEST
The 'HIGHEST' literal object.

See Also:
HIGHEST_VALUE

DEFAULT

public static final PriorityClass DEFAULT
The 'DEFAULT' literal object.

See Also:
DEFAULT_VALUE
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

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

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

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

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

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

VALUES

public static final List<PriorityClass> VALUES
A public read-only list of all the 'Priority Class' enumerators.

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 name
NullPointerException - if the argument is null

get

public static PriorityClass get(String literal)
Returns the 'Priority Class' literal with the specified literal value.


getByName

public static PriorityClass getByName(String name)
Returns the 'Priority Class' literal with the specified name.


get

public static PriorityClass get(int value)
Returns the 'Priority Class' literal with the specified integer value.


getValue

public int getValue()


getName

public String getName()


getLiteral

public String getLiteral()


toString

public String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class Enum<PriorityClass>