public static enum StorageItem.UsageType extends java.lang.Enum<StorageItem.UsageType>
Enum Constant and Description |
---|
CLIENT_WIDE
Client-wide resource remains in client cache and will be updated only if the resource will be changed.
|
TASK_SPECIFIC
Task-specific resource will be automatically deleted after job end.
|
Modifier and Type | Method and Description |
---|---|
static StorageItem.UsageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StorageItem.UsageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageItem.UsageType TASK_SPECIFIC
public static final StorageItem.UsageType CLIENT_WIDE
public static StorageItem.UsageType[] values()
for (StorageItem.UsageType c : StorageItem.UsageType.values()) System.out.println(c);
public static StorageItem.UsageType 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 namejava.lang.NullPointerException
- if the argument is null