Package net.officefloor.plugin.clazz
Interface FlowSuccessful
- All Superinterfaces:
FlowCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
FlowCallback that propagates failures and only handles success.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields inherited from interface net.officefloor.frame.api.function.FlowCallback
ESCALATE -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Invoked on completion of successfulFlow.default voidDefault implementation ofFlowCallbackto escalate and then invoke successful handling.
-
Method Details
-
run
Default implementation ofFlowCallbackto escalate and then invoke successful handling.- Specified by:
runin interfaceFlowCallback- Parameters:
escalation- PossibleThrowablefrom theFlow.nullindicates allEscalationinstances handled withinFlow.- Throws:
Throwable-Escalationwithin the callback logic.
-
run
Invoked on completion of successfulFlow.- Throws:
Throwable- Possible failure in handling completion.
-