public enum StoragePermission extends java.lang.Enum<StoragePermission>
| Enum Constant and Description |
|---|
READ |
READ_WRITE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static StoragePermission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StoragePermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoragePermission UNKNOWN
public static final StoragePermission READ_WRITE
public static final StoragePermission READ
public static StoragePermission[] values()
for (StoragePermission c : StoragePermission.values()) System.out.println(c);
public static StoragePermission 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