|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<InstanceToBalance>
scheduler.configuration.InstanceToBalance
public enum InstanceToBalance
A representation of the literals of the enumeration 'Instance To Balance', and utility methods for working with them.
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 |
---|
public static final InstanceToBalance CURRENT
CURRENT_VALUE
public static final InstanceToBalance ALL
ALL_VALUE
Field Detail |
---|
public static final int CURRENT_VALUE
If the meaning of 'CURRENT' literal object isn't clear, there really should be more of a description here...
CURRENT
,
Constant Field Valuespublic static final int ALL_VALUE
If the meaning of 'ALL' literal object isn't clear, there really should be more of a description here...
ALL
,
Constant Field Valuespublic static final List<InstanceToBalance> VALUES
Method Detail |
---|
public static InstanceToBalance[] values()
for (InstanceToBalance c : InstanceToBalance.values()) System.out.println(c);
public static InstanceToBalance 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 InstanceToBalance get(String literal)
public static InstanceToBalance getByName(String name)
public static InstanceToBalance get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<InstanceToBalance>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |