@Deprecated public enum OptimizePermissions extends Enum<OptimizePermissions> implements Permission
Permissions
for
Optimize resource
in Camunda Platform.Enum Constant and Description |
---|
ALL
Deprecated.
Indicates that all interactions are permitted.
|
EDIT
Deprecated.
Indicates that EDIT interactions are permitted.
|
NONE
Deprecated.
The none permission means 'no action', 'doing nothing'.
|
SHARE
Deprecated.
Indicates that SHARE interactions are permitted.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
returns the name of the permission, ie.
|
Resource[] |
getTypes()
Deprecated.
returns the resource types which are allowed for this permission
|
int |
getValue()
Deprecated.
returns the unique numeric value of the permission.
|
static OptimizePermissions |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static OptimizePermissions[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptimizePermissions NONE
public static final OptimizePermissions ALL
public static final OptimizePermissions EDIT
public static final OptimizePermissions SHARE
public static OptimizePermissions[] values()
for (OptimizePermissions c : OptimizePermissions.values()) System.out.println(c);
public static OptimizePermissions 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 String getName()
Permission
getName
in interface Permission
public int getValue()
Permission
getValue
in interface Permission
public Resource[] getTypes()
Permission
getTypes
in interface Permission
Copyright © 2021. All rights reserved.