Enum ExternalAddressState
- java.lang.Object
-
- java.lang.Enum<ExternalAddressState>
-
- com.opencloud.slee.resources.sis.management.ExternalAddressState
-
- All Implemented Interfaces:
Serializable
,Comparable<ExternalAddressState>
public enum ExternalAddressState extends Enum<ExternalAddressState>
Enum that specifies the current state of an external address in an external platform defintion.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExternalAddressState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalAddressState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INACTIVE
public static final ExternalAddressState INACTIVE
The address is currently inactive. The SIS will not attempt to send any traffic to it.
-
ACTIVE
public static final ExternalAddressState ACTIVE
The address is currently active. The SIS will attempt to send traffic to it.
-
FAILED
public static final ExternalAddressState FAILED
Failures have been detected in traffic sent to the address. The SIS will periodically attempt to reactivate the address.
-
-
Method Detail
-
values
public static ExternalAddressState[] 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 (ExternalAddressState c : ExternalAddressState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalAddressState 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
-
-