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