Enum Class ProcessConstants.InstanceProperty
java.lang.Object
java.lang.Enum<ProcessConstants.InstanceProperty>
de.aristaflow.adept2.model.globals.ProcessConstants.InstanceProperty
- All Implemented Interfaces:
Serializable,Comparable<ProcessConstants.InstanceProperty>,java.lang.constant.Constable
- 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).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe input parameters of the instance, SetterChangePrimitives.setInputParameters(Set).The name of the Instance,Instance.getName().The output parameters of the instance, SetterChangePrimitives.setOutputParameters(Set).The supervisor agent,Instance.getSupervisorAgent(). -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()valueOf(int code) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static ProcessConstants.InstanceProperty[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
The name of the Instance,Instance.getName(). -
SUPERVISOR_AGENT
The supervisor agent,Instance.getSupervisorAgent(). -
INPUT_PARAMETER
The input parameters of the instance, SetterChangePrimitives.setInputParameters(Set). GetterInstance.getTemplate()to get the instance specific template {Template.getParameters(ActivityConstants.AccessType)withAccessType.READto get the parameters -
OUTPUT_PARAMETER
The output parameters of the instance, SetterChangePrimitives.setOutputParameters(Set). GetterInstance.getTemplate()to get the instance specific template {Template.getParameters(ActivityConstants.AccessType)withAccessType.WRITEto get the parameters
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-