Enum HostAction.State
- java.lang.Object
-
- java.lang.Enum<HostAction.State>
-
- com.yahoo.vespa.hosted.controller.api.integration.vcmr.HostAction.State
-
- All Implemented Interfaces:
Serializable,Comparable<HostAction.State>
- Enclosing class:
- HostAction
public static enum HostAction.State extends Enum<HostAction.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETENONEPENDING_RETIREMENTREQUIRES_OPERATOR_ACTIONRETIREDRETIRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HostAction.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static HostAction.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRES_OPERATOR_ACTION
public static final HostAction.State REQUIRES_OPERATOR_ACTION
-
PENDING_RETIREMENT
public static final HostAction.State PENDING_RETIREMENT
-
NONE
public static final HostAction.State NONE
-
RETIRING
public static final HostAction.State RETIRING
-
RETIRED
public static final HostAction.State RETIRED
-
COMPLETE
public static final HostAction.State COMPLETE
-
-
Method Detail
-
values
public static HostAction.State[] 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 (HostAction.State c : HostAction.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HostAction.State 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
-
-