Uses of Class
co.yellowdog.platform.model.TaskOutput.Builder
Packages that use TaskOutput.Builder
Package
Description
Provides the types that define the YellowDog Platform data model.
-
Uses of TaskOutput.Builder in co.yellowdog.platform.model
Methods in co.yellowdog.platform.model that return TaskOutput.BuilderModifier and TypeMethodDescriptionTaskOutput.Builder.alwaysUpload
(boolean alwaysUpload) Indicates that the outputs should still be uploaded even if the task execution failed or was aborted.static TaskOutput.Builder
TaskOutput.builder()
TaskOutput.Builder.directoryName
(String directoryName) The pre-configured directory name; only if the source is set to TaskOutputSource.OTHER_DIRECTORY.TaskOutput.Builder.filePattern
(String filePattern) An ant-style pattern to select output files by path.TaskOutput.Builder.fromDirectory
(String directoryName, String filePattern) Specifies that matching files from the directory (defined in the agent configuration with the specified name) should be uploaded.TaskOutput.Builder.fromDirectory
(String directoryName, String filePattern, boolean required) Specifies that matching files from the directory (defined in the agent configuration with the specified name) should be uploaded.TaskOutput.Builder.fromTaskProcess()
Specifies that the text file containing the output from the task execution process should be uploaded.TaskOutput.Builder.fromWorkerDirectory
(String filePattern) Specifies that matching files from the working directory of the worker that executed the task should be uploaded.TaskOutput.Builder.fromWorkerDirectory
(String filePattern, boolean required) Specifies that matching files from the working directory of the worker that executed the task should be uploaded.TaskOutput.Builder.required
(boolean required) Indicates that at least one output should be found otherwise the task execution is failed.TaskOutput.Builder.source
(TaskOutputSource source) The source context where the outputs can be found.TaskOutput.toBuilder()