public enum ResourceTypes extends Enum<ResourceTypes>
| Enum Constant and Description |
|---|
JOB |
SERVICE |
STORAGE_STATUS |
STORAGE_USAGE |
TASK |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ResourceTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceTypes TASK
public static final ResourceTypes JOB
public static final ResourceTypes STORAGE_USAGE
public static final ResourceTypes STORAGE_STATUS
public static final ResourceTypes SERVICE
public static ResourceTypes[] values()
for (ResourceTypes c : ResourceTypes.values()) System.out.println(c);
public static ResourceTypes 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 String toString()
toString in class Enum<ResourceTypes>Copyright © 2014. All Rights Reserved.