public static enum NodeMetadata.Status extends Enum<NodeMetadata.Status>
Enum Constant and Description |
---|
ERROR
There is an error on the node
|
PENDING
The node is in transition
|
RUNNING
The node is available for requests
|
SUSPENDED
The node is deployed, but suspended or stopped.
|
TERMINATED
The node is visible, and in the process of being deleted.
|
UNRECOGNIZED
The state of the node is unrecognized.
|
Modifier and Type | Method and Description |
---|---|
static NodeMetadata.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeMetadata.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeMetadata.Status PENDING
public static final NodeMetadata.Status TERMINATED
public static final NodeMetadata.Status SUSPENDED
public static final NodeMetadata.Status RUNNING
public static final NodeMetadata.Status ERROR
public static final NodeMetadata.Status UNRECOGNIZED
public static NodeMetadata.Status[] values()
for (NodeMetadata.Status c : NodeMetadata.Status.values()) System.out.println(c);
public static NodeMetadata.Status 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 © 2009-2016 The Apache Software Foundation. All Rights Reserved.