public static enum User.State extends Enum<User.State>
Modifier and Type | Method and Description |
---|---|
static User.State |
fromValue(String value) |
String |
toString() |
static User.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static User.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.State ENABLED
public static final User.State DISABLED
public static final User.State UNKNOWN
public static User.State[] values()
for (User.State c : User.State.values()) System.out.println(c);
public static User.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 User.State fromValue(String value)
public String toString()
toString
in class Enum<User.State>
Copyright © 2009-2013 jclouds. All Rights Reserved.