org.dasein.cloud.atmos
Enum AtmosProvider
java.lang.Object
java.lang.Enum<AtmosProvider>
org.dasein.cloud.atmos.AtmosProvider
- All Implemented Interfaces:
- Serializable, Comparable<AtmosProvider>
public enum AtmosProvider
- extends Enum<AtmosProvider>
Represents different Atmos standard service providers.
Created by George Reese: 10/8/12 10:45 AM
- Since:
- 2012.09
- Version:
- 2012.09 initial version
- Author:
- George Reese
|
Method Summary |
static AtmosProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AtmosProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
ATT
public static final AtmosProvider ATT
OTHER
public static final AtmosProvider OTHER
values
public static AtmosProvider[] 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 (AtmosProvider c : AtmosProvider.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AtmosProvider 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
Copyright © 2012-2013 enStratus Networks Inc. All Rights Reserved.