scheduler.configuration
Enum PriorityDegradation

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

public enum PriorityDegradation
extends Enum<PriorityDegradation>

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

See Also:
ConfigurationPackage.getPriorityDegradation()

Enum Constant Summary
RESET
          The 'RESET' literal object.
SLOW_DECAY
          The 'SLOW DECAY' literal object.
 
Field Summary
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
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.
 
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

RESET

public static final PriorityDegradation RESET
The 'RESET' literal object.

See Also:
RESET_VALUE

SLOW_DECAY

public static final PriorityDegradation SLOW_DECAY
The 'SLOW DECAY' literal object.

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

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

VALUES

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

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

get

public static PriorityDegradation get(String literal)
Returns the 'Priority Degradation' literal with the specified literal value.


getByName

public static PriorityDegradation getByName(String name)
Returns the 'Priority Degradation' literal with the specified name.


get

public static PriorityDegradation get(int value)
Returns the 'Priority Degradation' 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<PriorityDegradation>