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