public enum BatchPermissions extends Enum<BatchPermissions> implements Permission
Permissions
for Batch operations
in Camunda BPM.Enum Constant and Description |
---|
ALL
Indicates that all interactions are permitted.
|
CREATE
Indicates that CREATE interactions are permitted.
|
CREATE_BATCH_DELETE_DECISION_INSTANCES
Indicates that CREATE_BATCH_DELETE_DECISION_INSTANCES interactions are permitted
|
CREATE_BATCH_DELETE_FINISHED_PROCESS_INSTANCES
Indicates that CREATE_BATCH_DELETE_FINISHED_PROCESS_INSTANCES interactions are permitted.
|
CREATE_BATCH_DELETE_RUNNING_PROCESS_INSTANCES
Indicates that CREATE_BATCH_DELETE_RUNNING_PROCESS_INSTANCES interactions are permitted
|
CREATE_BATCH_MIGRATE_PROCESS_INSTANCES
Indicates that CREATE_BATCH_MIGRATE_PROCESS_INSTANCES interactions are permitted.
|
CREATE_BATCH_MODIFY_PROCESS_INSTANCES
Indicates that CREATE_BATCH_MODIFY_PROCESS_INSTANCES interactions are permitted
|
CREATE_BATCH_RESTART_PROCESS_INSTANCES
Indicates that CREATE_BATCH_RESTART_PROCESS_INSTANCES interactions are permitted
|
CREATE_BATCH_SET_EXTERNAL_TASK_RETRIES
Indicates that CREATE_BATCH_SET_EXTERNAL_TASK_RETRIES interactions are permitted
|
CREATE_BATCH_SET_JOB_RETRIES
Indicates that CREATE_BATCH_SET_JOB_RETRIES interactions are permitted
|
CREATE_BATCH_SET_REMOVAL_TIME
Indicates that CREATE_BATCH_SET_REMOVAL_TIME interactions are permitted
|
CREATE_BATCH_UPDATE_PROCESS_INSTANCES_SUSPEND
Indicates that CREATE_BATCH_UPDATE_PROCESS_INSTANCES_SUSPEND interactions are permitted
|
DELETE
Indicates that DELETE interactions are permitted.
|
DELETE_HISTORY
Indicates that DELETE_HISTORY 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.
|
UPDATE
Indicates that UPDATE interactions are permitted.
|
Modifier and Type | Method and Description |
---|---|
static Permission |
forName(String name) |
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 BatchPermissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchPermissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchPermissions NONE
public static final BatchPermissions ALL
public static final BatchPermissions READ
public static final BatchPermissions UPDATE
public static final BatchPermissions CREATE
public static final BatchPermissions DELETE
public static final BatchPermissions READ_HISTORY
public static final BatchPermissions DELETE_HISTORY
public static final BatchPermissions CREATE_BATCH_MIGRATE_PROCESS_INSTANCES
public static final BatchPermissions CREATE_BATCH_MODIFY_PROCESS_INSTANCES
public static final BatchPermissions CREATE_BATCH_RESTART_PROCESS_INSTANCES
public static final BatchPermissions CREATE_BATCH_DELETE_RUNNING_PROCESS_INSTANCES
public static final BatchPermissions CREATE_BATCH_DELETE_FINISHED_PROCESS_INSTANCES
public static final BatchPermissions CREATE_BATCH_DELETE_DECISION_INSTANCES
public static final BatchPermissions CREATE_BATCH_SET_JOB_RETRIES
public static final BatchPermissions CREATE_BATCH_SET_EXTERNAL_TASK_RETRIES
public static final BatchPermissions CREATE_BATCH_UPDATE_PROCESS_INSTANCES_SUSPEND
public static final BatchPermissions CREATE_BATCH_SET_REMOVAL_TIME
public static BatchPermissions[] values()
for (BatchPermissions c : BatchPermissions.values()) System.out.println(c);
public static BatchPermissions 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
public static Permission forName(String name)
Copyright © 2022. All rights reserved.