Package io.kestra.core.tasks.states
Class Set
java.lang.Object
io.kestra.core.models.tasks.Task
io.kestra.core.tasks.states.AbstractState
io.kestra.core.tasks.states.Set
- All Implemented Interfaces:
RunnableTask<Set.Output>
@Example(title="Set the default state for the current flow",code={"id: setState","type: io.kestra.core.tasks.states.Set","data:"," \'{{ inputs.store }}\': \'{{ outputs.download.md5 }}\'"},full=true) @Example(title="Set the `myState` state for the current flow",code={"id: setState","type: io.kestra.core.tasks.states.Set","name: myState","data:"," \'{{ inputs.store }}\': \'{{ outputs.download.md5 }}\'"},full=true)
public class Set
extends AbstractState
implements RunnableTask<Set.Output>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.kestra.core.tasks.states.AbstractState
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrun(RunContext runContext) Thsis method is called inside the Worker to run (execute) the task.Methods inherited from class io.kestra.core.tasks.states.AbstractState
delete, get, mergeMethods inherited from class io.kestra.core.models.tasks.Task
findById, findById, isFlowable, isSendToWorkerTask
-
Constructor Details
-
Set
public Set()
-
-
Method Details
-
run
Description copied from interface:RunnableTaskThsis method is called inside the Worker to run (execute) the task.- Specified by:
runin interfaceRunnableTask<Set.Output>- Throws:
Exception
-