Enum ProcessConstants.TemplateProperty
- java.lang.Object
-
- java.lang.Enum<ProcessConstants.TemplateProperty>
-
- de.aristaflow.adept2.model.globals.ProcessConstants.TemplateProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessConstants.TemplateProperty>
- Enclosing class:
- ProcessConstants
public static enum ProcessConstants.TemplateProperty extends Enum<ProcessConstants.TemplateProperty>
Properties / attributes of template.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INPUT_PARAMETER
The input parameters of the template,Template.getParameters(ActivityConstants.AccessType)
withAccessType.READ
.INSTANCE_NAME_TEMPLATE
The pattern for an instance name of this template,Template.getInstanceNameTemplate()
.NAME
The name of the Template,Template.getName()
.OUTPUT_PARAMETER
The output parameters of the template,Template.getParameters(ActivityConstants.AccessType)
withAccessType.WRITE
.SUPERVISOR_AGENT
The supervisor agent,Template.getSupervisorAgent()
.USER_ATTRIBUTE
The user attributes of the template.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static ProcessConstants.TemplateProperty
valueOf(int code)
Returns the enum constant of this type with the specified name.static ProcessConstants.TemplateProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessConstants.TemplateProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final ProcessConstants.TemplateProperty NAME
The name of the Template,Template.getName()
.
-
INSTANCE_NAME_TEMPLATE
public static final ProcessConstants.TemplateProperty INSTANCE_NAME_TEMPLATE
The pattern for an instance name of this template,Template.getInstanceNameTemplate()
.
-
SUPERVISOR_AGENT
public static final ProcessConstants.TemplateProperty SUPERVISOR_AGENT
The supervisor agent,Template.getSupervisorAgent()
.
-
INPUT_PARAMETER
public static final ProcessConstants.TemplateProperty INPUT_PARAMETER
The input parameters of the template,Template.getParameters(ActivityConstants.AccessType)
withAccessType.READ
.
-
OUTPUT_PARAMETER
public static final ProcessConstants.TemplateProperty OUTPUT_PARAMETER
The output parameters of the template,Template.getParameters(ActivityConstants.AccessType)
withAccessType.WRITE
.
-
USER_ATTRIBUTE
public static final ProcessConstants.TemplateProperty USER_ATTRIBUTE
The user attributes of the template.
-
-
Method Detail
-
values
public static ProcessConstants.TemplateProperty[] 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 (ProcessConstants.TemplateProperty c : ProcessConstants.TemplateProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessConstants.TemplateProperty 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
-
getCode
public int getCode()
-
valueOf
public static ProcessConstants.TemplateProperty valueOf(int code)
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:
code
- 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
-
-