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

public static enum ProcessConstants.ExecutionMode extends Enum<ProcessConstants.ExecutionMode>
This enumeration defines constants that declare in which mode activities should be executed.
Author:
Markus Lauer
  • Enum Constant Details

    • SUBSTITUTED_TEST

      public static final ProcessConstants.ExecutionMode 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

      public static final ProcessConstants.ExecutionMode COMPONENT_TEST
      The activity should be executed in the test mode, whereas the assigned application is called itself.
    • PRODUCTION

      public static final ProcessConstants.ExecutionMode PRODUCTION
      The activity is executed in the production mode.
    • VIEW_ONLY

      public static final ProcessConstants.ExecutionMode 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

      public static ProcessConstants.ExecutionMode[] 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

      public static ProcessConstants.ExecutionMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • valueOf

      public static ProcessConstants.ExecutionMode valueOf(int code)
      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 name
      NullPointerException - if the argument is null