scheduler.configuration
Enum InstanceToBalance

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

public enum InstanceToBalance
extends Enum<InstanceToBalance>

A representation of the literals of the enumeration 'Instance To Balance', and utility methods for working with them.

See Also:
ConfigurationPackage.getInstanceToBalance()

Enum Constant Summary
ALL
          The 'ALL' literal object.
CURRENT
          The 'CURRENT' literal object.
 
Field Summary
static int ALL_VALUE
          The 'ALL' literal value.
static int CURRENT_VALUE
          The 'CURRENT' literal value.
static List<InstanceToBalance> VALUES
          A public read-only list of all the 'Instance To Balance' enumerators.
 
Method Summary
static InstanceToBalance get(int value)
          Returns the 'Instance To Balance' literal with the specified integer value.
static InstanceToBalance get(String literal)
          Returns the 'Instance To Balance' literal with the specified literal value.
static InstanceToBalance getByName(String name)
          Returns the 'Instance To Balance' 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 InstanceToBalance valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InstanceToBalance[] 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

CURRENT

public static final InstanceToBalance CURRENT
The 'CURRENT' literal object.

See Also:
CURRENT_VALUE

ALL

public static final InstanceToBalance ALL
The 'ALL' literal object.

See Also:
ALL_VALUE
Field Detail

CURRENT_VALUE

public static final int CURRENT_VALUE
The 'CURRENT' literal value.

If the meaning of 'CURRENT' literal object isn't clear, there really should be more of a description here...

See Also:
CURRENT, Constant Field Values

ALL_VALUE

public static final int ALL_VALUE
The 'ALL' literal value.

If the meaning of 'ALL' literal object isn't clear, there really should be more of a description here...

See Also:
ALL, Constant Field Values

VALUES

public static final List<InstanceToBalance> VALUES
A public read-only list of all the 'Instance To Balance' enumerators.

Method Detail

values

public static InstanceToBalance[] 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 (InstanceToBalance c : InstanceToBalance.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static InstanceToBalance 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 InstanceToBalance get(String literal)
Returns the 'Instance To Balance' literal with the specified literal value.


getByName

public static InstanceToBalance getByName(String name)
Returns the 'Instance To Balance' literal with the specified name.


get

public static InstanceToBalance get(int value)
Returns the 'Instance To Balance' 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<InstanceToBalance>