public class DefaultSimpleStateMachine<State,Context,ContextService> extends Object implements SimpleStateMachine<State,Context,ContextService>
| Constructor and Description |
|---|
DefaultSimpleStateMachine(SimpleStateMachineConfig<State,Context,ContextService> config,
State actualState) |
| Modifier and Type | Method and Description |
|---|---|
Context |
change(State newState) |
Context |
change(State newState,
Context context) |
Context |
change(State newState,
Context context,
ContextService contextService) |
boolean |
transitionAllowed(State newState) |
public DefaultSimpleStateMachine(SimpleStateMachineConfig<State,Context,ContextService> config, State actualState)
public Context change(State newState, Context context, ContextService contextService)
change in interface SimpleStateMachine<State,Context,ContextService>public Context change(State newState)
change in interface SimpleStateMachine<State,Context,ContextService>public Context change(State newState, Context context)
change in interface SimpleStateMachine<State,Context,ContextService>public boolean transitionAllowed(State newState)
transitionAllowed in interface SimpleStateMachine<State,Context,ContextService>Copyright © 2017. All rights reserved.