public enum JCloudsInstanceType extends java.lang.Enum<JCloudsInstanceType>
| Modifier and Type | Method and Description |
|---|---|
static JCloudsInstanceType |
get(java.lang.String text,
JCloudsInstanceType defaultValue)
Returns the JCloudsInstanceType value for the given text value if it exists otherwise returns the defaultValue
|
static JCloudsInstanceType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static JCloudsInstanceType get(java.lang.String text, JCloudsInstanceType defaultValue)
Copyright © 2014 Red Hat. All Rights Reserved.