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>
Indicates that an Action, of a particular type, has changed state.
- Author:
- GAIPS
-
Method Summary
Modifier and TypeMethodDescriptionGets the Action which State has changed.Gets the state of the Action previously to the change has taken place.Methods inherited from interface ion.Meta.IEvent
getRaiseTime
-
Method Details
-
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
-