Interface FlowCallback
- All Known Subinterfaces:
FlowSuccessful
- All Known Implementing Classes:
CompleteFlowCallback,ProcessAwareServerHttpConnectionManagedObject,SafeCompleteFlowCallback,SpringServerHttpConnection
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback for completion of a Flow.
The return state of the Flow is available from the
ManagedObject instances manipulated by the Flow (hence there
is no returned value to the FlowCallback).
- Author:
- Daniel Sagenschneider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FlowCallbackFlowCallbackthat simply escalates theFlowEscalationto the invokingManagedFunctionContainer(i.e. -
Method Summary
-
Field Details
-
ESCALATE
FlowCallbackthat simply escalates theFlowEscalationto the invokingManagedFunctionContainer(i.e.ManagedFunctioninvoking theFlow).
-
-
Method Details
-
run
Invoked on completion of theFlow.- Parameters:
escalation- PossibleThrowablefrom theFlow.nullindicates allEscalationinstances handled withinFlow.- Throws:
Throwable-Escalationwithin the callback logic.
-