Package io.kestra.core.tasks.flows
Class Worker
java.lang.Object
io.kestra.core.models.tasks.Task
io.kestra.core.tasks.flows.Sequential
io.kestra.core.tasks.flows.WorkingDirectory
io.kestra.core.tasks.flows.Worker
- All Implemented Interfaces:
FlowableTask<VoidOutput>,NamespaceFilesInterface
@Plugin(examples=@Example(full=true,code={"id: worker","namespace: io.kestra.tests","","tasks:"," - id: worker"," type: io.kestra.core.tasks.flows.Worker"," tasks:"," - id: first"," type: io.kestra.plugin.scripts.shell.Commands"," commands:"," - \'echo \"{{ taskrun.id }}\" > {{ workingDir }}/stay.txt\'"," - id: second"," type: io.kestra.plugin.scripts.shell.Commands"," commands:"," - |"," echo \'::{\"outputs\": {\"stay\":\"\'$(cat {{ workingDir }}/stay.txt)\'\"}}::\'"}))
@Deprecated
public class Worker
extends WorkingDirectory
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.kestra.core.tasks.flows.WorkingDirectory
WorkingDirectory.Cache -
Field Summary
Fields inherited from class io.kestra.core.tasks.flows.Sequential
errors -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.kestra.core.tasks.flows.WorkingDirectory
postExecuteTasks, preExecuteTasks, resolveNexts, workerTaskMethods inherited from class io.kestra.core.tasks.flows.Sequential
allChildTasks, childTasks, tasksTreeMethods inherited from class io.kestra.core.models.tasks.Task
findById, findById, isFlowable, isSendToWorkerTaskMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.kestra.core.models.tasks.FlowableTask
getErrors, outputs, resolveStateMethods inherited from interface io.kestra.core.models.tasks.NamespaceFilesInterface
getNamespaceFiles
-
Constructor Details
-
Worker
public Worker()Deprecated.
-