@InterfaceAudience.Public @InterfaceStability.Evolving public interface StateMachine<STATE extends Enum<STATE>,EVENTTYPE extends Enum<EVENTTYPE>,EVENT>
| Modifier and Type | Method and Description | 
|---|---|
STATE | 
doTransition(EVENTTYPE eventType,
                        EVENT event)  | 
STATE | 
getCurrentState()  | 
STATE getCurrentState()
STATE doTransition(EVENTTYPE eventType, EVENT event) throws InvalidStateTransitonException
InvalidStateTransitonExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.