Interface IStateChanged<TAction extends Action>

  • Type Parameters:
    TAction - the particular type of the Action
    All Superinterfaces:
    ion.Meta.IEvent
    All Known Subinterfaces:
    IFailed<TAction>, IPaused<TAction>, IResumed<TAction>, IStarted<TAction>, IStopped<TAction>, ISucceeded<TAction>

    public interface IStateChanged<TAction extends Action>
    extends ion.Meta.IEvent
    Indicates that an Action, of a particular type, has changed state.
    Author:
    GAIPS
    • Method Detail

      • getAction

        TAction getAction()
        Gets the Action which State has changed.
        Returns:
        the Action which state has changed
      • getOldState

        Action.State getOldState()
        Gets the state of the Action previously to the change has taken place.
        Returns:
        the previous state of the Action