public enum Resources extends Enum<Resources> implements Resource
The set of built-in Resource
names.
Enum Constant and Description |
---|
APPLICATION |
AUTHORIZATION |
DECISION_DEFINITION |
DEPLOYMENT |
FILTER |
GROUP |
GROUP_MEMBERSHIP |
PROCESS_DEFINITION |
PROCESS_INSTANCE |
TASK |
USER |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Resources APPLICATION
public static final Resources USER
public static final Resources GROUP
public static final Resources GROUP_MEMBERSHIP
public static final Resources AUTHORIZATION
public static final Resources FILTER
public static final Resources PROCESS_DEFINITION
public static final Resources TASK
public static final Resources PROCESS_INSTANCE
public static final Resources DEPLOYMENT
public static final Resources DECISION_DEFINITION
public static Resources[] values()
for (Resources c : Resources.values()) System.out.println(c);
public static Resources 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 resourceName()
Resource
resourceName
in interface Resource
public int resourceType()
Resource
resourceType
in interface Resource
Copyright © 2018. All rights reserved.