public static enum Directory.TYPE extends java.lang.Enum<Directory.TYPE>
Enum Constant and Description |
---|
local_scratch |
local_storage |
shared_scratch |
shared_storage |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
mValue |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
getValue()
The value associated with the enum
|
java.lang.String |
toString()
Override of the toString method to return
|
static Directory.TYPE |
value(java.lang.String name) |
static Directory.TYPE |
valueOf(java.lang.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
public static Directory.TYPE[] values()
for (Directory.TYPE c : Directory.TYPE.values()) System.out.println(c);
public static Directory.TYPE 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 nullpublic static Directory.TYPE value(java.lang.String name)
private java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<Directory.TYPE>