Package scheduler.configuration
Enum LoadBalancingType
- java.lang.Object
-
- java.lang.Enum<LoadBalancingType>
-
- scheduler.configuration.LoadBalancingType
-
- All Implemented Interfaces:
Serializable
,Comparable<LoadBalancingType>
,Enumerator
public enum LoadBalancingType extends Enum<LoadBalancingType> implements Enumerator
A representation of the literals of the enumeration 'Load Balancing Type', and utility methods for working with them.- See Also:
ConfigurationPackage.getLoadBalancingType()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY_TO_THRESHOLD
The 'ANY TO THRESHOLD' literal object.IDLE_TO_ONE
The 'IDLE TO ONE' literal object.IDLE_TO_THRESHOLD
The 'IDLE TO THRESHOLD' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
ANY_TO_THRESHOLD_VALUE
The 'ANY TO THRESHOLD' literal value.static int
IDLE_TO_ONE_VALUE
The 'IDLE TO ONE' literal value.static int
IDLE_TO_THRESHOLD_VALUE
The 'IDLE TO THRESHOLD' literal value.static List<LoadBalancingType>
VALUES
A public read-only list of all the 'Load Balancing Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancingType
get(int value)
Returns the 'Load Balancing Type' literal with the specified integer value.static LoadBalancingType
get(String literal)
Returns the 'Load Balancing Type' literal with the specified literal value.static LoadBalancingType
getByName(String name)
Returns the 'Load Balancing Type' 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 LoadBalancingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LoadBalancingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE_TO_ONE
public static final LoadBalancingType IDLE_TO_ONE
The 'IDLE TO ONE' literal object.- See Also:
IDLE_TO_ONE_VALUE
- Generated class or method.
- Ordered collection.
-
IDLE_TO_THRESHOLD
public static final LoadBalancingType IDLE_TO_THRESHOLD
The 'IDLE TO THRESHOLD' literal object.- See Also:
IDLE_TO_THRESHOLD_VALUE
- Generated class or method.
- Ordered collection.
-
ANY_TO_THRESHOLD
public static final LoadBalancingType ANY_TO_THRESHOLD
The 'ANY TO THRESHOLD' literal object.- See Also:
ANY_TO_THRESHOLD_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
IDLE_TO_ONE_VALUE
public static final int IDLE_TO_ONE_VALUE
The 'IDLE TO ONE' literal value.If the meaning of 'IDLE TO ONE' literal object isn't clear, there really should be more of a description here...
- See Also:
IDLE_TO_ONE
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
IDLE_TO_THRESHOLD_VALUE
public static final int IDLE_TO_THRESHOLD_VALUE
The 'IDLE TO THRESHOLD' literal value.If the meaning of 'IDLE TO THRESHOLD' literal object isn't clear, there really should be more of a description here...
- See Also:
IDLE_TO_THRESHOLD
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
ANY_TO_THRESHOLD_VALUE
public static final int ANY_TO_THRESHOLD_VALUE
The 'ANY TO THRESHOLD' literal value.If the meaning of 'ANY TO THRESHOLD' literal object isn't clear, there really should be more of a description here...
- See Also:
ANY_TO_THRESHOLD
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
public static final List<LoadBalancingType> VALUES
A public read-only list of all the 'Load Balancing Type' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static LoadBalancingType[] 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 (LoadBalancingType c : LoadBalancingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoadBalancingType 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 nameNullPointerException
- if the argument is null
-
get
public static LoadBalancingType get(String literal)
Returns the 'Load Balancing Type' literal with the specified literal value.- Generated class or method.
-
getByName
public static LoadBalancingType getByName(String name)
Returns the 'Load Balancing Type' literal with the specified name.- Generated class or method.
-
get
public static LoadBalancingType get(int value)
Returns the 'Load Balancing Type' literal with the specified integer value.- Generated class or method.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
- Generated class or method.
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
- Generated class or method.
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
- Generated class or method.
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<LoadBalancingType>
- Generated class or method.
-
-