Package org.rostore.entity.apikey
Enum Class Permission
- All Implemented Interfaces:
Serializable
,Comparable<Permission>
,Constable
A permission
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPermission to create entries.Permission to delete entries.Permission to grant permissionsPermission to list entries, e.g.Permission to read valuePermission to manage rostore instance in any formPermission to write data to the container or storage -
Method Summary
Modifier and TypeMethodDescriptionstatic Permission
Returns the enum constant of this class with the specified name.static Permission[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ
Permission to read value -
LIST
Permission to list entries, e.g. keys in the container -
WRITE
Permission to write data to the container or storage -
DELETE
Permission to delete entries. e.g. keys -
CREATE
Permission to create entries. e.g. keys -
GRANT
Permission to grant permissions -
SUPER
Permission to manage rostore instance in any form
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-