Enum OutputFileUploadCondition

    • Enum Constant Detail

      • TASK_SUCCESS

        public static final OutputFileUploadCondition TASK_SUCCESS
        Upload the file(s) only after the Task process exits with an exit code of 0.
      • TASK_FAILURE

        public static final OutputFileUploadCondition TASK_FAILURE
        Upload the file(s) only after the Task process exits with a nonzero exit code.
      • TASK_COMPLETION

        public static final OutputFileUploadCondition TASK_COMPLETION
        Upload the file(s) after the Task process exits, no matter what the exit code was.
    • Method Detail

      • values

        public static OutputFileUploadCondition[] 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 (OutputFileUploadCondition c : OutputFileUploadCondition.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OutputFileUploadCondition 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
      • fromString

        public static OutputFileUploadCondition fromString​(String value)
        Parses a serialized value to a OutputFileUploadCondition instance.
        Parameters:
        value - the serialized value to parse.
        Returns:
        the parsed OutputFileUploadCondition object, or null if unable to parse.