Package ion.Core.Events
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.IEventIndicates that an Action, of a particular type, has changed state.- Author:
- GAIPS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TActiongetAction()Gets the Action which State has changed.Action.StategetOldState()Gets the state of the Action previously to the change has taken place.
-
-
-
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
-
-