Interface FiniteStateMachineListener<S extends Enum<S>>


public interface FiniteStateMachineListener<S extends Enum<S>>
A FiniteStateMachineListener listens for state related events on a FiniteStateMachine.
Since:
Coherence 12.2.1
Author:
pfm 2013.04.17
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onTransition(S stateFrom, S stateTo)
    Called during a state transition immediately before a FiniteStateMachine enters a particular state.
  • Method Details

    • onTransition

      void onTransition(S stateFrom, S stateTo)
      Called during a state transition immediately before a FiniteStateMachine enters a particular state.
      Parameters:
      stateFrom - the state that the FiniteStateMachine is leaving
      stateTo - the state that the FiniteStateMachine is entering