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.

@FunctionalInterface public interface FlowSuccessful extends FlowCallback
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 Type
    Method
    Description
    void
    run()
    Invoked on completion of successful Flow.
    default void
    run(Throwable escalation)
    Default implementation of FlowCallback to escalate and then invoke successful handling.