Enum Class ProcessConstants.ExecutionMode
java.lang.Object
java.lang.Enum<ProcessConstants.ExecutionMode>
de.aristaflow.adept2.model.globals.ProcessConstants.ExecutionMode
- All Implemented Interfaces:
Serializable,Comparable<ProcessConstants.ExecutionMode>,java.lang.constant.Constable
- Enclosing class:
- ProcessConstants
This enumeration defines constants that declare in which mode activities
should be executed.
- Author:
- Markus Lauer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe activity should be executed in the test mode, whereas the assigned application is called itself.The activity is executed in the production mode.The activity should not be executed, instead it is substituted by a generic form that displays the values of the declared input parameters and provides edit fields to generate the value for output parameters manually.The activity just displays the input and output parameter values but does not allow to change them. -
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.ExecutionMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUBSTITUTED_TEST
The activity should not be executed, instead it is substituted by a generic form that displays the values of the declared input parameters and provides edit fields to generate the value for output parameters manually. -
COMPONENT_TEST
The activity should be executed in the test mode, whereas the assigned application is called itself. -
PRODUCTION
The activity is executed in the production mode. -
VIEW_ONLY
The activity just displays the input and output parameter values but does not allow to change them. This can be used for tracking purpose.
-
-
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
-