AbstractTaskWrapper<C extends WorkflowContext<WorkflowResult>> class
abstract
Methods
-
execute(C context)
→ Future<void>
-
Execute the task's logic using the domain-specific context.
inherited
-
fanIn(ITask<C> next)
→ ITask<C>
-
Fan-in: return to a single flow after parallel execution.
inherited
-
fanOut(ITaskExecutableCollection<C> tasks)
→ ITask<C>
-
Fan-out: run multiple independent tasks in parallel using context
C.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onFailure(ITask<C> fallback)
→ ITask<C>
-
Fallback task if the execution of this specific node throws an exception.
inherited
-
repeatUntil(bool condition(C), {required int maxAttempts})
→ ITask<C>
-
Repeat the current task until a condition in the context
C is met.
inherited
-
then(ITask<C> next)
→ ITask<C>
-
Sequentially chain another task.
The next task must accept the same context type.
inherited
-
thenSwitch(ITaskCollection<C> tasks)
→ ITask<C>
-
Conditional branching within the same context type.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited