@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 InvalidStateTransitionException
InvalidStateTransitionException
Copyright © 2017 Apache Software Foundation. All rights reserved.