public static enum NodeAgentInfo.AgentState extends Enum<NodeAgentInfo.AgentState>
| Enum Constant and Description |
|---|
FAILED |
INITIALIZING |
READY |
STOPPED |
UNREACHABLE |
| Modifier and Type | Method and Description |
|---|---|
static NodeAgentInfo.AgentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeAgentInfo.AgentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeAgentInfo.AgentState INITIALIZING
public static final NodeAgentInfo.AgentState READY
public static final NodeAgentInfo.AgentState STOPPED
public static final NodeAgentInfo.AgentState UNREACHABLE
public static final NodeAgentInfo.AgentState FAILED
public static NodeAgentInfo.AgentState[] values()
for (NodeAgentInfo.AgentState c : NodeAgentInfo.AgentState.values()) System.out.println(c);
public static NodeAgentInfo.AgentState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.