public enum JCloudsInstanceType extends Enum<JCloudsInstanceType>
| Modifier and Type | Method and Description |
|---|---|
static JCloudsInstanceType |
get(String text,
JCloudsInstanceType defaultValue)
Returns the JCloudsInstanceType value for the given text value if it exists otherwise returns the defaultValue
|
static JCloudsInstanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCloudsInstanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCloudsInstanceType Smallest
public static final JCloudsInstanceType Biggest
public static final JCloudsInstanceType Fastest
public static JCloudsInstanceType[] values()
for (JCloudsInstanceType c : JCloudsInstanceType.values()) System.out.println(c);
public static JCloudsInstanceType 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 JCloudsInstanceType get(String text, JCloudsInstanceType defaultValue)
Copyright © 2011–2014 Red Hat. All rights reserved.