org.jclouds.deltacloud.domain
Enum Realm.State

java.lang.Object
  extended by java.lang.Enum<Realm.State>
      extended by org.jclouds.deltacloud.domain.Realm.State
All Implemented Interfaces:
Serializable, Comparable<Realm.State>
Enclosing class:
Realm

public static enum Realm.State
extends Enum<Realm.State>


Enum Constant Summary
AVAILABLE
          the realm is available
UNAVAILABLE
          the realm is unavailable
UNRECOGNIZED
          state returned as something besides the above.
 
Method Summary
static Realm.State fromValue(String state)
           
static Realm.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Realm.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AVAILABLE

public static final Realm.State AVAILABLE
the realm is available


UNAVAILABLE

public static final Realm.State UNAVAILABLE
the realm is unavailable


UNRECOGNIZED

public static final Realm.State UNRECOGNIZED
state returned as something besides the above.

Method Detail

values

public static Realm.State[] 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 (Realm.State c : Realm.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Realm.State 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

fromValue

public static Realm.State fromValue(String state)


Copyright © 2009-2011 jclouds. All Rights Reserved.