Enum Node.State
- java.lang.Object
-
- java.lang.Enum<Node.State>
-
- com.yahoo.vespa.hosted.controller.api.integration.configserver.Node.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Node.State>
- Enclosing class:
- Node
public static enum Node.State extends java.lang.Enum<Node.State>
Known node states
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Node.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Node.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
provisioned
public static final Node.State provisioned
-
ready
public static final Node.State ready
-
reserved
public static final Node.State reserved
-
active
public static final Node.State active
-
inactive
public static final Node.State inactive
-
dirty
public static final Node.State dirty
-
failed
public static final Node.State failed
-
parked
public static final Node.State parked
-
unknown
public static final Node.State unknown
-
-
Method Detail
-
values
public static Node.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 (Node.State c : Node.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 Node.State valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-