public static enum Directory.TYPE extends Enum<Directory.TYPE>
Enum Constant and Description |
---|
local_scratch |
local_storage |
shared_scratch |
shared_storage |
Modifier and Type | Method and Description |
---|---|
private String |
getValue()
The value associated with the enum
|
String |
toString()
Override of the toString method to return
|
static Directory.TYPE |
value(String name) |
static Directory.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Directory.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Directory.TYPE shared_scratch
public static final Directory.TYPE shared_storage
public static final Directory.TYPE local_scratch
public static final Directory.TYPE local_storage
private String mValue
public static Directory.TYPE[] values()
for (Directory.TYPE c : Directory.TYPE.values()) System.out.println(c);
public static Directory.TYPE 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 Directory.TYPE value(String name)
private String getValue()
public String toString()
toString
in class Enum<Directory.TYPE>