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 FlowCallback
Callback for completion of a
Flow
.The return state of the
Flow
is available from theManagedObject
instances manipulated by theFlow
(hence there is no returned value to theFlowCallback
).- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description static FlowCallback
ESCALATE
FlowCallback
that simply escalates theFlow
Escalation
to the invokingManagedFunctionContainer
(i.e.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(java.lang.Throwable escalation)
Invoked on completion of theFlow
.
-
-
-
Field Detail
-
ESCALATE
static final FlowCallback ESCALATE
FlowCallback
that simply escalates theFlow
Escalation
to the invokingManagedFunctionContainer
(i.e.ManagedFunction
invoking theFlow
).
-
-
Method Detail
-
run
void run(java.lang.Throwable escalation) throws java.lang.Throwable
Invoked on completion of theFlow
.- Parameters:
escalation
- PossibleThrowable
from theFlow
.null
indicates allEscalation
instances handled withinFlow
.- Throws:
java.lang.Throwable
-Escalation
within the callback logic.
-
-