public static enum Realm.State extends Enum<Realm.State>
Enum Constant and Description |
---|
AVAILABLE
the realm is available
|
UNAVAILABLE
the realm is unavailable
|
UNRECOGNIZED
state returned as something besides the above.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Realm.State AVAILABLE
public static final Realm.State UNAVAILABLE
public static final Realm.State UNRECOGNIZED
public static Realm.State[] values()
for (Realm.State c : Realm.State.values()) System.out.println(c);
public static Realm.State 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 Realm.State fromValue(String state)
Copyright © 2009-2013 jclouds. All Rights Reserved.