-
- All Superinterfaces:
State<E>
- All Known Implementing Classes:
InitState,OutputStateImpl,StdState
public interface OutputState<E> extends State<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddTransition(Transition<E> tr)voidexit()List<Transition<E>>getTransitions()default booleanprocess(E event)Asks to the state to process of the given event.-
Methods inherited from interface io.github.interacto.fsm.State
checkStartingState, getFSM, getName, uninstall
-
-
-
-
Method Detail
-
exit
void exit() throws CancelFSMException
- Throws:
CancelFSMException
-
process
default boolean process(E event)
Asks to the state to process of the given event.- Parameters:
event- The event to process. Can be null.
-
getTransitions
List<Transition<E>> getTransitions()
-
addTransition
void addTransition(Transition<E> tr)
-
-