org.camunda.bpm.engine.authorization
Enum Resources

java.lang.Object
  extended by java.lang.Enum<Resources>
      extended by 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
APPLICATION
           
AUTHORIZATION
           
DECISION_DEFINITION
           
DEPLOYMENT
           
FILTER
           
GROUP
           
GROUP_MEMBERSHIP
           
PROCESS_DEFINITION
           
PROCESS_INSTANCE
           
TASK
           
TENANT
           
USER
           
 
Method Summary
 String resourceName()
          returns the name of the resource
 int 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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
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 name
NullPointerException - if the argument is null

resourceName

public String resourceName()
Description copied from interface: Resource
returns the name of the resource

Specified by:
resourceName in interface Resource

resourceType

public int resourceType()
Description copied from interface: Resource
an integer representing the type of the resource.

Specified by:
resourceType in interface Resource
Returns:
the type identitfyer of the resource


Copyright © 2016 camunda services GmbH. All rights reserved.