Class WorkflowChain<Request,Response>
java.lang.Object
com.javaaidev.agenticpatterns.chainworkflow.WorkflowChain<Request,Response>
- Type Parameters:
Request- Task input typeResponse- Task output type
Chain to manage steps
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WorkflowChain
-
-
Method Details
-
callNext
Call next step in the chain- Parameters:
request- Task inputlastResponse- Last task output- Returns:
- Task output
-