Enum ProcessConstants.InstanceProperty
- java.lang.Object
-
- java.lang.Enum<ProcessConstants.InstanceProperty>
-
- de.aristaflow.adept2.model.globals.ProcessConstants.InstanceProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessConstants.InstanceProperty>
- Enclosing class:
- ProcessConstants
public static enum ProcessConstants.InstanceProperty extends Enum<ProcessConstants.InstanceProperty>
Properties / attributes of instance. Used primarily to specify changes of an instance (therefore some properties use ChangeableInstance only properties).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INPUT_PARAMETER
The input parameters of the instance, SetterChangePrimitives.setInputParameters(Set)
.NAME
The name of the Instance,Instance.getName()
.OUTPUT_PARAMETER
The output parameters of the instance, SetterChangePrimitives.setOutputParameters(Set)
.SUPERVISOR_AGENT
The supervisor agent,Instance.getSupervisorAgent()
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static ProcessConstants.InstanceProperty
valueOf(int code)
Returns the enum constant of this type with the specified name.static ProcessConstants.InstanceProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessConstants.InstanceProperty[]
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.InstanceProperty NAME
The name of the Instance,Instance.getName()
.
-
SUPERVISOR_AGENT
public static final ProcessConstants.InstanceProperty SUPERVISOR_AGENT
The supervisor agent,Instance.getSupervisorAgent()
.
-
INPUT_PARAMETER
public static final ProcessConstants.InstanceProperty INPUT_PARAMETER
The input parameters of the instance, SetterChangePrimitives.setInputParameters(Set)
. GetterInstance.getTemplate()
to get the instance specific template {Template.getParameters(ActivityConstants.AccessType)
withAccessType.READ
to get the parameters
-
OUTPUT_PARAMETER
public static final ProcessConstants.InstanceProperty OUTPUT_PARAMETER
The output parameters of the instance, SetterChangePrimitives.setOutputParameters(Set)
. GetterInstance.getTemplate()
to get the instance specific template {Template.getParameters(ActivityConstants.AccessType)
withAccessType.WRITE
to get the parameters
-
-
Method Detail
-
values
public static ProcessConstants.InstanceProperty[] 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.InstanceProperty c : ProcessConstants.InstanceProperty.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.InstanceProperty 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.InstanceProperty 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
-
-