Package io.kestra.core.tasks.flows
Class AllowFailure
java.lang.Object
io.kestra.core.models.tasks.Task
io.kestra.core.tasks.flows.Sequential
io.kestra.core.tasks.flows.AllowFailure
- All Implemented Interfaces:
FlowableTask<VoidOutput>
@Plugin(examples=@Example(full=true,code={"id: allow-failure","namespace: io.kestra.tests","","tasks:"," - id: sequential"," type: io.kestra.core.tasks.flows.AllowFailure"," tasks:"," - id: ko"," type: io.kestra.plugin.scripts.shell.Commands"," commands:"," - \'exit 1\'"," - id: last"," type: io.kestra.core.tasks.debugs.Return"," format: \"{{task.id}} > {{taskrun.startDate}}\""}))
public class AllowFailure
extends Sequential
implements FlowableTask<VoidOutput>
-
Field Summary
Fields inherited from class io.kestra.core.tasks.flows.Sequential
errors -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveState(RunContext runContext, Execution execution, TaskRun parentTaskRun) Resolve the state of a flowable task.Methods inherited from class io.kestra.core.tasks.flows.Sequential
allChildTasks, childTasks, resolveNexts, 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
allChildTasks, childTasks, getErrors, outputs, resolveNexts, tasksTree
-
Constructor Details
-
AllowFailure
public AllowFailure()
-
-
Method Details
-
resolveState
public Optional<State.Type> resolveState(RunContext runContext, Execution execution, TaskRun parentTaskRun) throws IllegalVariableEvaluationException Description copied from interface:FlowableTaskResolve the state of a flowable task.- Specified by:
resolveStatein interfaceFlowableTask<VoidOutput>- Throws:
IllegalVariableEvaluationException
-