Enum Class OptimizePermissions
- All Implemented Interfaces:
Serializable
,Comparable<OptimizePermissions>
,Constable
,Permission
Deprecated.
These permissions have no effect
The set of built-in
Permissions
for
Optimize resource
in Camunda Platform.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Deprecated.returns the name of the permission, ie.Resource[]
getTypes()
Deprecated.returns the resource types which are allowed for this permissionint
getValue()
Deprecated.returns the unique numeric value of the permission.static OptimizePermissions
Deprecated.Returns the enum constant of this class with the specified name.static OptimizePermissions[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Deprecated.The none permission means 'no action', 'doing nothing'. It does not mean that no permissions are granted. -
ALL
Deprecated.Indicates that all interactions are permitted. If ALL is revoked it means that the user is not permitted to do everything, which means that at least one permission is revoked. This does not implicate that all individual permissions are revoked. Example: If the EDIT permission is revoked then the ALL permission is revoked as well, because the user is not authorized to execute all actions anymore. -
EDIT
Deprecated.Indicates that EDIT interactions are permitted. -
SHARE
Deprecated.Indicates that SHARE interactions are permitted.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
getName
Deprecated.Description copied from interface:Permission
returns the name of the permission, ie. 'UPDATE'- Specified by:
getName
in interfacePermission
-
getValue
public int getValue()Deprecated.Description copied from interface:Permission
returns the unique numeric value of the permission. Must be a power of 2. ie 2^0, 2^1, 2^2, 2^3, 2^4 ...- Specified by:
getValue
in interfacePermission
-
getTypes
Deprecated.Description copied from interface:Permission
returns the resource types which are allowed for this permission- Specified by:
getTypes
in interfacePermission
-