public enum PermissionMode extends Enum<PermissionMode>
Enum Constant and Description |
---|
All
Permission applicable for all operations.
|
Read
Permission applicable for read operations only.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the numerical value of the permission mode.
|
static PermissionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionMode Read
public static final PermissionMode All
public static PermissionMode[] values()
for (PermissionMode c : PermissionMode.values()) System.out.println(c);
public static PermissionMode 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 int getValue()
Copyright © 2018. All rights reserved.