Enum BaseNode.Condition
- java.lang.Object
-
- java.lang.Enum<BaseNode.Condition>
-
- org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseNode.Condition
-
- All Implemented Interfaces:
Serializable
,Comparable<BaseNode.Condition>
public static enum BaseNode.Condition extends Enum<BaseNode.Condition>
Virtual IP Conditions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
Node is not permitted to accept any new connections regardless of session persistence configuration.DRAINING
Node is allowed to service existing established connections and connections that are being directed to it as a result of the session persistence configuration.ENABLED
Node is permitted to accept new connections.UNRECOGNIZED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseNode.Condition
fromValue(String condition)
static BaseNode.Condition
valueOf(String name)
Returns the enum constant of this type with the specified name.static BaseNode.Condition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final BaseNode.Condition ENABLED
Node is permitted to accept new connections.
-
DISABLED
public static final BaseNode.Condition DISABLED
Node is not permitted to accept any new connections regardless of session persistence configuration. Existing connections are forcibly terminated.
-
DRAINING
public static final BaseNode.Condition DRAINING
Node is allowed to service existing established connections and connections that are being directed to it as a result of the session persistence configuration.
-
UNRECOGNIZED
public static final BaseNode.Condition UNRECOGNIZED
-
-
Method Detail
-
values
public static BaseNode.Condition[] 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 (BaseNode.Condition c : BaseNode.Condition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseNode.Condition 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
-
fromValue
public static BaseNode.Condition fromValue(String condition)
-
-