public enum Action extends Enum<Action>
Enum Constant and Description |
---|
FORCEDELETE
Force delete the server
|
LOCK
Lock the server
|
PAUSE
Pause the server
|
RESCUE
Rescue the server
|
RESUME
Resume a suspended server
|
SHELVE
Shelve the server
|
SHELVE_OFFLOAD
Remove a shelved instance from the compute node
|
START
Start the server
|
STOP
Stop the server
|
SUSPEND
Suspend a server
|
UNLOCK
Unlock a locked server
|
UNPAUSE
UnPause the paused server
|
UNRESCUE
Unrescue the server
|
UNSHELVE
Unshelve the server
|
Modifier and Type | Method and Description |
---|---|
static Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action PAUSE
public static final Action UNPAUSE
public static final Action STOP
public static final Action START
public static final Action LOCK
public static final Action UNLOCK
public static final Action SUSPEND
public static final Action RESUME
public static final Action RESCUE
public static final Action UNRESCUE
public static final Action SHELVE
public static final Action SHELVE_OFFLOAD
public static final Action UNSHELVE
public static final Action FORCEDELETE
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action 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 © 2017. All rights reserved.