Interface FlowCallback
-
- All Known Subinterfaces:
FlowSuccessful
- All Known Implementing Classes:
CompleteFlowCallback,ProcessAwareServerHttpConnectionManagedObject,SafeCompleteFlowCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FlowCallbackCallback for completion of a
Flow.The return state of the
Flowis available from theManagedObjectinstances manipulated by theFlow(hence there is no returned value to theFlowCallback).- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description static FlowCallbackESCALATEFlowCallbackthat simply escalates theFlowEscalationto the invokingManagedFunctionContainer(i.e.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun(java.lang.Throwable escalation)Invoked on completion of theFlow.
-
-
-
Field Detail
-
ESCALATE
static final FlowCallback ESCALATE
FlowCallbackthat simply escalates theFlowEscalationto the invokingManagedFunctionContainer(i.e.ManagedFunctioninvoking theFlow).
-
-
Method Detail
-
run
void run(java.lang.Throwable escalation) throws java.lang.Throwable
Invoked on completion of theFlow.- Parameters:
escalation- PossibleThrowablefrom theFlow.nullindicates allEscalationinstances handled withinFlow.- Throws:
java.lang.Throwable-Escalationwithin the callback logic.
-
-