Enum ResourceTypes
- java.lang.Object
-
- java.lang.Enum<ResourceTypes>
-
- org.camunda.bpm.engine.repository.ResourceTypes
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceTypes>,ResourceType
public enum ResourceTypes extends Enum<ResourceTypes> implements ResourceType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HISTORYREPOSITORYRUNTIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceTypeforName(String name)StringgetName()returns the name of the resource's typeIntegergetValue()returns the unique numeric value of the type.StringtoString()static ResourceTypesvalueOf(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(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
-
toString
public String toString()
- Overrides:
toStringin classEnum<ResourceTypes>
-
getName
public String getName()
Description copied from interface:ResourceTypereturns the name of the resource's type- Specified by:
getNamein interfaceResourceType
-
getValue
public Integer getValue()
Description copied from interface:ResourceTypereturns the unique numeric value of the type.- Specified by:
getValuein interfaceResourceType
-
forName
public static ResourceType forName(String name)
-
-