public enum PowerCommand extends Enum<PowerCommand>
GridServerClient.power(String, PowerCommand)
,
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static PowerCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PowerCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerCommand START
public static final PowerCommand STOP
public static final PowerCommand RESTART
public static PowerCommand[] values()
for (PowerCommand c : PowerCommand.values()) System.out.println(c);
public static PowerCommand 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 String toString()
toString
in class Enum<PowerCommand>
Copyright © 2009-2012 jclouds. All Rights Reserved.