org.apache.whirr.service
Enum ClusterSpec.Property
java.lang.Object
java.lang.Enum<ClusterSpec.Property>
org.apache.whirr.service.ClusterSpec.Property
- All Implemented Interfaces:
- Serializable, Comparable<ClusterSpec.Property>
- Enclosing class:
- ClusterSpec
public static enum ClusterSpec.Property
- extends Enum<ClusterSpec.Property>
SERVICE_NAME
public static final ClusterSpec.Property SERVICE_NAME
INSTANCE_TEMPLATES
public static final ClusterSpec.Property INSTANCE_TEMPLATES
PROVIDER
public static final ClusterSpec.Property PROVIDER
CREDENTIAL
public static final ClusterSpec.Property CREDENTIAL
IDENTITY
public static final ClusterSpec.Property IDENTITY
CLUSTER_NAME
public static final ClusterSpec.Property CLUSTER_NAME
PUBLIC_KEY_FILE
public static final ClusterSpec.Property PUBLIC_KEY_FILE
PRIVATE_KEY_FILE
public static final ClusterSpec.Property PRIVATE_KEY_FILE
IMAGE_ID
public static final ClusterSpec.Property IMAGE_ID
HARDWARE_ID
public static final ClusterSpec.Property HARDWARE_ID
LOCATION_ID
public static final ClusterSpec.Property LOCATION_ID
CLIENT_CIDRS
public static final ClusterSpec.Property CLIENT_CIDRS
VERSION
public static final ClusterSpec.Property VERSION
RUN_URL_BASE
public static final ClusterSpec.Property RUN_URL_BASE
values
public static ClusterSpec.Property[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ClusterSpec.Property c : ClusterSpec.Property.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ClusterSpec.Property valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getSimpleName
public String getSimpleName()
getConfigName
public String getConfigName()
getType
public Class<?> getType()
hasMultipleArguments
public boolean hasMultipleArguments()
getDescription
public String getDescription()
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.