Enum Resources
- java.lang.Object
-
- java.lang.Enum<Resources>
-
- org.camunda.bpm.engine.authorization.Resources
-
- All Implemented Interfaces:
Serializable,Comparable<Resources>,Resource
public enum Resources extends Enum<Resources> implements Resource
The set of built-in
Resourcenames.- Author:
- Daniel Meyer
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATIONAUTHORIZATIONBATCHDASHBOARDDECISION_DEFINITIONDECISION_REQUIREMENTS_DEFINITIONDEPLOYMENTFILTERGROUPGROUP_MEMBERSHIPHISTORIC_PROCESS_INSTANCEHISTORIC_TASKOPERATION_LOG_CATEGORYOPTIMIZEDeprecated.PROCESS_DEFINITIONPROCESS_INSTANCEREPORTSYSTEMTASKTENANTTENANT_MEMBERSHIPUSER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringresourceName()returns the name of the resourceintresourceType()an integer representing the type of the resource.static ResourcesvalueOf(String name)Returns the enum constant of this type with the specified name.static Resources[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPLICATION
public static final Resources APPLICATION
-
USER
public static final Resources USER
-
GROUP
public static final Resources GROUP
-
GROUP_MEMBERSHIP
public static final Resources GROUP_MEMBERSHIP
-
AUTHORIZATION
public static final Resources AUTHORIZATION
-
FILTER
public static final Resources FILTER
-
PROCESS_DEFINITION
public static final Resources PROCESS_DEFINITION
-
TASK
public static final Resources TASK
-
PROCESS_INSTANCE
public static final Resources PROCESS_INSTANCE
-
DEPLOYMENT
public static final Resources DEPLOYMENT
-
DECISION_DEFINITION
public static final Resources DECISION_DEFINITION
-
TENANT
public static final Resources TENANT
-
TENANT_MEMBERSHIP
public static final Resources TENANT_MEMBERSHIP
-
BATCH
public static final Resources BATCH
-
DECISION_REQUIREMENTS_DEFINITION
public static final Resources DECISION_REQUIREMENTS_DEFINITION
-
REPORT
public static final Resources REPORT
-
DASHBOARD
public static final Resources DASHBOARD
-
OPERATION_LOG_CATEGORY
public static final Resources OPERATION_LOG_CATEGORY
-
OPTIMIZE
@Deprecated public static final Resources OPTIMIZE
Deprecated.
-
HISTORIC_TASK
public static final Resources HISTORIC_TASK
-
HISTORIC_PROCESS_INSTANCE
public static final Resources HISTORIC_PROCESS_INSTANCE
-
SYSTEM
public static final Resources SYSTEM
-
-
Method Detail
-
values
public static Resources[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Resources c : Resources.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Resources valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
resourceName
public String resourceName()
Description copied from interface:Resourcereturns the name of the resource- Specified by:
resourceNamein interfaceResource
-
resourceType
public int resourceType()
Description copied from interface:Resourcean integer representing the type of the resource.- Specified by:
resourceTypein interfaceResource- Returns:
- the type identitfyer of the resource
-
-