@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
InvalidStateTransitonException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.