public enum ProcessDefinitionPermissions extends Enum<ProcessDefinitionPermissions> implements Permission
Permissions
for Process definition
in Camunda BPM.Enum Constant and Description |
---|
ALL
Indicates that all interactions are permitted.
|
CREATE_INSTANCE
Indicates that CREATE_INSTANCE interactions are permitted.
|
DELETE
Indicates that DELETE interactions are permitted.
|
DELETE_HISTORY
Indicates that DELETE_HISTORY interactions are permitted.
|
DELETE_INSTANCE
Indicates that DELETE_INSTANCE interactions are permitted.
|
MIGRATE_INSTANCE
Indicates that MIGRATE_INSTANCE interactions are permitted
|
NONE
The none permission means 'no action', 'doing nothing'.
|
READ
Indicates that READ interactions are permitted.
|
READ_HISTORY
Indicates that READ_HISTORY interactions are permitted.
|
READ_HISTORY_VARIABLE
Indicates that READ_HISTORY_VARIABLE interactions are permitted.
|
READ_INSTANCE
Indicates that READ_INSTANCE interactions are permitted.
|
READ_INSTANCE_VARIABLE
Indicates that READ_INSTANCE_VARIABLE interactions are permitted.
|
READ_TASK
Indicates that READ_TASK interactions are permitted.
|
READ_TASK_VARIABLE
Indicates that READ_TASK_VARIABLE interactions are permitted.
|
RETRY_JOB
Indicates that RETRY_JOB interactions are permitted.
|
SUSPEND
Indicates that SUSPEND interactions are permitted.
|
SUSPEND_INSTANCE
Indicates that SUSPEND_INSTANCE interactions are permitted.
|
TASK_ASSIGN
Indicates that TASK_ASSIGN interactions are permitted
|
TASK_WORK
Indicates that TASK_WORK interactions are permitted
|
UPDATE
Indicates that UPDATE interactions are permitted.
|
UPDATE_INSTANCE
Indicates that UPDATE_INSTANCE interactions are permitted.
|
UPDATE_INSTANCE_VARIABLE
Indicates that UPDATE_INSTANCE_VARIABLE interactions are permitted.
|
UPDATE_TASK
Indicates that UPDATE_TASK interactions are permitted.
|
UPDATE_TASK_VARIABLE
Indicates that UPDATE_TASK_VARIABLE interactions are permitted.
|
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 ProcessDefinitionPermissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessDefinitionPermissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessDefinitionPermissions NONE
public static final ProcessDefinitionPermissions ALL
public static final ProcessDefinitionPermissions READ
public static final ProcessDefinitionPermissions UPDATE
public static final ProcessDefinitionPermissions DELETE
public static final ProcessDefinitionPermissions READ_TASK
public static final ProcessDefinitionPermissions UPDATE_TASK
public static final ProcessDefinitionPermissions CREATE_INSTANCE
public static final ProcessDefinitionPermissions READ_INSTANCE
public static final ProcessDefinitionPermissions UPDATE_INSTANCE
public static final ProcessDefinitionPermissions DELETE_INSTANCE
public static final ProcessDefinitionPermissions READ_HISTORY
public static final ProcessDefinitionPermissions DELETE_HISTORY
public static final ProcessDefinitionPermissions TASK_WORK
public static final ProcessDefinitionPermissions TASK_ASSIGN
public static final ProcessDefinitionPermissions MIGRATE_INSTANCE
public static final ProcessDefinitionPermissions RETRY_JOB
public static final ProcessDefinitionPermissions SUSPEND
public static final ProcessDefinitionPermissions SUSPEND_INSTANCE
public static final ProcessDefinitionPermissions UPDATE_INSTANCE_VARIABLE
public static final ProcessDefinitionPermissions UPDATE_TASK_VARIABLE
public static final ProcessDefinitionPermissions READ_INSTANCE_VARIABLE
public static final ProcessDefinitionPermissions READ_HISTORY_VARIABLE
public static final ProcessDefinitionPermissions READ_TASK_VARIABLE
public static ProcessDefinitionPermissions[] values()
for (ProcessDefinitionPermissions c : ProcessDefinitionPermissions.values()) System.out.println(c);
public static ProcessDefinitionPermissions 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 © 2022. All rights reserved.