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