S - The concrete type of the state object.public interface StateManager<S extends State> extends StateObserver<S>
| Modifier and Type | Method and Description |
|---|---|
void |
handleNewState(S newState,
Event event)
Validate and set a new state object.
|
getCurrentState, subscribe, unsubscribeCopyright © 2016 Cooking Fox. All rights reserved.