Package com.aispect.api
Interface AiNodeStatusHook
- All Known Subinterfaces:
AiGraphAgentHandler<T,R, F>
- All Known Implementing Classes:
AbstractGraphAgent,DynamicWorkflowGraphAgent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Node status detection callback interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonNodeStatusChange(String nodeName, String status, AiInvocationContext<?> ctx) when Node When the status of PENDING become RUNNING,or SUCCESS/FAILED)trigger.
-
Method Details
-
onNodeStatusChange
when Node When the status of PENDING become RUNNING,or SUCCESS/FAILED)trigger.- Parameters:
nodeName- Node namestatus- The new state of the nodectx- current execution context
-