Class 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.
  • Constructor Details

    • Worker

      public Worker()
      Deprecated.