Uses of Class
com.tnsai.coordination.workflow.WorkflowContext
Packages that use WorkflowContext
Package
Description
Workflow execution patterns for multi-agent coordination.
-
Uses of WorkflowContext in com.tnsai.coordination.workflow
Methods in com.tnsai.coordination.workflow that return types with arguments of type WorkflowContextModifier and TypeMethodDescriptionBranch.condition()Returns the value of theconditionrecord component.WorkflowStep.condition()Returns the value of theconditionrecord component.LoopCondition.continueWhile()Returns the value of thecontinueWhilerecord component.Methods in com.tnsai.coordination.workflow with parameters of type WorkflowContextModifier and TypeMethodDescriptionConditionalWorkflow.execute(WorkflowContext context) Executes the conditional workflow.DAGExecutor.execute(WorkflowContext context) Executes the DAG, running independent steps in parallel.PipelineExecutor.execute(WorkflowContext context) Executes all steps sequentially.SagaExecutor.execute(WorkflowContext context) Executes all steps sequentially.DAGExecutor.executeAsync(WorkflowContext context) Executes the DAG asynchronously.PipelineExecutor.executeAsync(WorkflowContext context) Executes the pipeline asynchronously.SagaExecutor.executeAsync(WorkflowContext context) Executes the saga asynchronously.booleanLoopCondition.shouldContinue(int currentIteration, WorkflowContext context) Checks if the loop should continue.ExecutionPlan.start(WorkflowContext context) Starts executing the plan asynchronously.Method parameters in com.tnsai.coordination.workflow with type arguments of type WorkflowContextModifier and TypeMethodDescriptionConditionalWorkflow.Builder.step(String id, com.tnsai.agents.Agent agent, Predicate<WorkflowContext> condition) static Branch.BranchBuilderBranch.when(Predicate<WorkflowContext> condition) Creates a branch builder with a condition.static LoopConditionLoopCondition.whileTrue(int maxIterations, Predicate<WorkflowContext> condition) Creates a loop that continues while the predicate is true, up to a max.WorkflowStep.withCondition(Predicate<WorkflowContext> predicate) Creates a conditional step.Constructor parameters in com.tnsai.coordination.workflow with type arguments of type WorkflowContextModifierConstructorDescriptionBranch(Predicate<WorkflowContext> condition, String targetStepId, com.tnsai.agents.Agent targetAgent) Creates an instance of aBranchrecord class.LoopCondition(int maxIterations, Predicate<WorkflowContext> continueWhile) Creates an instance of aLoopConditionrecord class.WorkflowStep(String id, String name, com.tnsai.agents.Agent agent, List<String> dependencies, Optional<Predicate<WorkflowContext>> condition, Optional<WorkflowStep> compensation, long timeoutMs) Creates an instance of aWorkflowSteprecord class.