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
Resource
names.- Author:
- Daniel Meyer
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION
AUTHORIZATION
BATCH
DASHBOARD
DECISION_DEFINITION
DECISION_REQUIREMENTS_DEFINITION
DEPLOYMENT
FILTER
GROUP
GROUP_MEMBERSHIP
HISTORIC_PROCESS_INSTANCE
HISTORIC_TASK
OPERATION_LOG_CATEGORY
OPTIMIZE
Deprecated.PROCESS_DEFINITION
PROCESS_INSTANCE
REPORT
TASK
TENANT
TENANT_MEMBERSHIP
USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resourceName()
returns the name of the resourceint
resourceType()
an integer representing the type of the resource.static Resources
valueOf(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
-
-
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:Resource
returns the name of the resource- Specified by:
resourceName
in interfaceResource
-
resourceType
public int resourceType()
Description copied from interface:Resource
an integer representing the type of the resource.- Specified by:
resourceType
in interfaceResource
- Returns:
- the type identitfyer of the resource
-
-