Class CompositeActionListener<S,E>

java.lang.Object
org.springframework.statemachine.support.AbstractCompositeItems<ActionListener<S,E>>
org.springframework.statemachine.action.CompositeActionListener<S,E>
Type Parameters:
S - the type of state
E - the type of event
All Implemented Interfaces:
ActionListener<S,E>

public class CompositeActionListener<S,E> extends AbstractCompositeItems<ActionListener<S,E>> implements ActionListener<S,E>
Implementation of a ActionListener backed by a multiple listeners.
Author:
Janne Valkealahti
  • Constructor Details

    • CompositeActionListener

      public CompositeActionListener()
  • Method Details

    • onExecute

      public void onExecute(StateMachine<S,E> stateMachine, Function<StateContext<S,E>,reactor.core.publisher.Mono<Void>> action, long duration)
      Description copied from interface: ActionListener
      Notified duration of a particular action.
      Specified by:
      onExecute in interface ActionListener<S,E>
      Parameters:
      stateMachine - the state machine
      action - the action
      duration - the transition duration