Enum ResourceTypes
- java.lang.Object
-
- java.lang.Enum<ResourceTypes>
-
- org.camunda.bpm.engine.repository.ResourceTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResourceTypes>
,ResourceType
public enum ResourceTypes extends java.lang.Enum<ResourceTypes> implements ResourceType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HISTORY
REPOSITORY
RUNTIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceType
forName(java.lang.String name)
java.lang.String
getName()
returns the name of the resource's typejava.lang.Integer
getValue()
returns the unique numeric value of the type.java.lang.String
toString()
static ResourceTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResourceTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPOSITORY
public static final ResourceTypes REPOSITORY
-
RUNTIME
public static final ResourceTypes RUNTIME
-
HISTORY
public static final ResourceTypes HISTORY
-
-
Method Detail
-
values
public static ResourceTypes[] 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 (ResourceTypes c : ResourceTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceTypes valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ResourceTypes>
-
getName
public java.lang.String getName()
Description copied from interface:ResourceType
returns the name of the resource's type- Specified by:
getName
in interfaceResourceType
-
getValue
public java.lang.Integer getValue()
Description copied from interface:ResourceType
returns the unique numeric value of the type.- Specified by:
getValue
in interfaceResourceType
-
forName
public static ResourceType forName(java.lang.String name)
-
-