public enum PermissionRequestAction extends Enum<PermissionRequestAction>
Enum Constant and Description |
---|
APPROVED
Approved
|
DENIED
Denied
|
INVALID
used for requests no longer valid since the object of the request is
permanently deleted
|
NONE
used to make sure ordinal in db starts from 1
|
OVERRIDEN
Overridden
|
Modifier and Type | Method and Description |
---|---|
static PermissionRequestAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionRequestAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionRequestAction NONE
public static final PermissionRequestAction DENIED
public static final PermissionRequestAction APPROVED
public static final PermissionRequestAction OVERRIDEN
public static final PermissionRequestAction INVALID
public static PermissionRequestAction[] values()
for (PermissionRequestAction c : PermissionRequestAction.values()) System.out.println(c);
public static PermissionRequestAction 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 nullCopyright © 2019. All rights reserved.