public enum RunningState extends Enum<RunningState>
Enum Constant and Description |
---|
NOTRUNNING |
POWERCYCLING |
RESTARTING |
RUNNING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static RunningState |
fromValue(String v) |
static RunningState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunningState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunningState RUNNING
public static final RunningState NOTRUNNING
public static final RunningState RESTARTING
public static final RunningState POWERCYCLING
public static final RunningState UNRECOGNIZED
public static RunningState[] values()
for (RunningState c : RunningState.values()) System.out.println(c);
public static RunningState 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 RunningState fromValue(String v)
Copyright © 2009-2012 jclouds. All Rights Reserved.