Package io.kestra.core.tasks.states
Class Get
java.lang.Object
io.kestra.core.models.tasks.Task
io.kestra.core.tasks.states.AbstractState
io.kestra.core.tasks.states.Get
- All Implemented Interfaces:
RunnableTask<Get.Output>
@Example(title="Get the default state for the current flow",code={"id: getState","type: io.kestra.core.tasks.states.Get"},full=true) @Example(title="Get the `myState` state for the current flow",code={"id: getState","type: io.kestra.core.tasks.states.Get","name: myState"},full=true)
public class Get
extends AbstractState
implements RunnableTask<Get.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
-
Get
public Get()
-
-
Method Details
-
run
Description copied from interface:RunnableTaskThsis method is called inside the Worker to run (execute) the task.- Specified by:
runin interfaceRunnableTask<Get.Output>- Throws:
Exception
-