Enum ProcessConstants.ExecutionMode

    • Enum Constant Detail

      • 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.
      • 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 Detail

      • values

        public static ProcessConstants.ExecutionMode[] 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.ExecutionMode c : ProcessConstants.ExecutionMode.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.ExecutionMode 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 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 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 name
        NullPointerException - if the argument is null