public enum ComputeProviderType extends Enum<ComputeProviderType>
| Enum Constant and Description |
|---|
AMAZON_EC2 |
LOCAL |
RACKSPACE_CLOUDSERVERS |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ComputeProviderType |
fromString(String pt) |
String |
getUrl() |
String |
toString() |
static ComputeProviderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputeProviderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputeProviderType AMAZON_EC2
public static final ComputeProviderType RACKSPACE_CLOUDSERVERS
public static final ComputeProviderType LOCAL
public static final ComputeProviderType UNKNOWN
public static ComputeProviderType[] values()
for (ComputeProviderType c : ComputeProviderType.values()) System.out.println(c);
public static ComputeProviderType 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 ComputeProviderType fromString(String pt)
public String toString()
toString in class Enum<ComputeProviderType>public String getUrl()
Copyright © 2009–2016 DuraSpace. All rights reserved.