Uses of Class
co.yellowdog.platform.model.Task.Builder
Packages that use Task.Builder
Package
Description
Provides the types that define the YellowDog Platform data model.
-
Uses of Task.Builder in co.yellowdog.platform.model
Methods in co.yellowdog.platform.model that return Task.BuilderModifier and TypeMethodDescriptionTask.Builder.arguments
(@NonNull Collection<? extends String> arguments) static Task.Builder
Task.builder()
Task.Builder.clearArguments()
Task.Builder.clearEnvironment()
Task.Builder.clearInputs()
Task.Builder.clearOutputs()
Task.Builder.environment
(String environmentKey, String environmentValue) Task.Builder.environment
(Map<? extends String, ? extends String> environment) Task.Builder.flattenInputPaths
(FlattenPath flattenInputPaths) Task.Builder.inputFromNamespace
(String namespace, String objectNamePattern) Specifies that matching objects from the supplied namespace should be downloaded to the working directory prior to task execution.Task.Builder.inputFromNamespace
(String namespace, String objectNamePattern, TaskInputVerification verification) Specifies that matching objects from the supplied namespace should be downloaded to the working directory prior to task execution.Task.Builder.inputFromTaskNamespace
(String objectNamePattern) Specifies that matching objects from the same namespace as the task should be downloaded to the working directory prior to task execution.Task.Builder.inputFromTaskNamespace
(String objectNamePattern, TaskInputVerification verification) Specifies that matching objects from the same namespace as the task should be downloaded to the working directory prior to task execution.Task.Builder.inputs
(Collection<? extends TaskInput> inputs) Task.Builder.output
(TaskOutput output) Task.Builder.outputFromDirectory
(String directoryName, String filePattern) Specifies that matching files from the directory (defined in the agent configuration with the specified name) should be uploaded.Task.Builder.outputFromDirectory
(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.Task.Builder.outputFromTaskProcess()
Specifies that the text file containing the output from the task execution process should be uploaded.Task.Builder.outputFromWorkerDirectory
(String filePattern) Specifies that matching files from the working directory of the worker that executed the task should be uploaded.Task.Builder.outputFromWorkerDirectory
(String filePattern, boolean required) Specifies that matching files from the working directory of the worker that executed the task should be uploaded.Task.Builder.outputs
(Collection<? extends TaskOutput> outputs) Task.toBuilder()