public enum PermissionType extends Enum<PermissionType>
Enum Constant and Description |
---|
ALL |
CREATE |
DELETE |
NONE |
READ |
UPDATE |
Modifier and Type | Method and Description |
---|---|
static List<String> |
prefixes()
Returns all the set of values within the
PermissionType combined with the
DELIMITER |
static PermissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionType CREATE
public static final PermissionType READ
public static final PermissionType UPDATE
public static final PermissionType DELETE
public static final PermissionType ALL
public static final PermissionType NONE
public static final String DELIMITER
public static PermissionType[] values()
for (PermissionType c : PermissionType.values()) System.out.println(c);
public static PermissionType 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 static List<String> prefixes()
PermissionType
combined with the
DELIMITER
DELIMITER
Copyright © 2021. All rights reserved.