Enum TaskOutputSource

java.lang.Object
java.lang.Enum<TaskOutputSource>
co.yellowdog.platform.model.TaskOutputSource
All Implemented Interfaces:
Serializable, Comparable<TaskOutputSource>, java.lang.constant.Constable

public enum TaskOutputSource extends Enum<TaskOutputSource>
Defines the source contexts where the task outputs can be found.
  • Enum Constant Details

    • WORKER_DIRECTORY

      public static final TaskOutputSource WORKER_DIRECTORY
      Task outputs from the working directory of the worker that executed the task.
    • OTHER_DIRECTORY

      public static final TaskOutputSource OTHER_DIRECTORY
      Task outputs from a directory defined in the agent configuration.
    • PROCESS_OUTPUT

      public static final TaskOutputSource PROCESS_OUTPUT
      The file containing the output from the process executing the task.
  • Method Details

    • values

      public static TaskOutputSource[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TaskOutputSource 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