public enum ResourceStatus extends java.lang.Enum<ResourceStatus>
Enum Constant and Description |
---|
LOCAL
|
ONLINE
|
SYNCHRONIZED
|
Modifier and Type | Method and Description |
---|---|
static ResourceStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceStatus LOCAL
public static final ResourceStatus ONLINE
public static final ResourceStatus SYNCHRONIZED
public static ResourceStatus[] values()
for (ResourceStatus c : ResourceStatus.values()) System.out.println(c);
public static ResourceStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no
constant
with the specified name
java.lang.NullPointerException
- if the argument is null