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