public static enum Instance.State extends Enum<Instance.State>
Enum Constant and Description |
---|
FINISH
the instance is terminated
|
PENDING
the instance is in the process of being launched
|
RUNNING
the instance launched (although the boot process might not be completed)
|
SHUTTING_DOWN
the instance is shutting down
|
START
initial state, before instance is created.
|
STOPPED
the instance is stopped
|
UNRECOGNIZED
state returned as something besides the above.
|
Modifier and Type | Method and Description |
---|---|
static Instance.State |
fromValue(String state) |
static Instance.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.State START
public static final Instance.State PENDING
public static final Instance.State RUNNING
public static final Instance.State SHUTTING_DOWN
public static final Instance.State STOPPED
public static final Instance.State FINISH
public static final Instance.State UNRECOGNIZED
public static Instance.State[] values()
for (Instance.State c : Instance.State.values()) System.out.println(c);
public static Instance.State 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 nullpublic static Instance.State fromValue(String state)
Copyright © 2009-2013 jclouds. All Rights Reserved.