Class FiniteStateMachine.StateChangedEvent

java.lang.Object
org.eclipse.net4j.util.fsm.FiniteStateMachine.StateChangedEvent
All Implemented Interfaces:
IEvent
Enclosing class:
FiniteStateMachine<STATE extends Enum<?>,EVENT extends Enum<?>,SUBJECT>

public class FiniteStateMachine.StateChangedEvent extends Object implements IEvent
Author:
Eike Stepper
  • Constructor Details

    • StateChangedEvent

      public StateChangedEvent(Object subject, Enum<?> oldState, Enum<?> newState)
  • Method Details

    • getSource

      public INotifier getSource()
      Specified by:
      getSource in interface IEvent
    • getSubject

      public Object getSubject()
    • getOldState

      public Enum<?> getOldState()
    • getNewState

      public Enum<?> getNewState()