Enum Class ActivityConstants.TestMode

java.lang.Object
java.lang.Enum<ActivityConstants.TestMode>
de.aristaflow.adept2.model.globals.ActivityConstants.TestMode
All Implemented Interfaces:
Serializable, Comparable<ActivityConstants.TestMode>, java.lang.constant.Constable
Enclosing class:
ActivityConstants

public static enum ActivityConstants.TestMode extends Enum<ActivityConstants.TestMode>
The execution mode of the operation or an activity.
  • Enum Constant Details

    • NO_TEST

      public static final ActivityConstants.TestMode NO_TEST
      The component does not support any kind of test mode.
    • TEST_FLAG

      public static final ActivityConstants.TestMode TEST_FLAG
      The component can operate in a test mode, if required to.
    • TEST_CONFIGURATION

      public static final ActivityConstants.TestMode TEST_CONFIGURATION
      The component requirers an explicit configuration for testing.
  • Method Details

    • values

      public static ActivityConstants.TestMode[] 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 ActivityConstants.TestMode 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 ActivityConstants.TestMode 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