Package io.github.frizman21.automaton
Class State
java.lang.Object
io.github.frizman21.automaton.State
-
Method Details
-
addTransition
- Parameters:
eventClass-resultingState-
-
add
Activities do not need to be thread safe. An activity object will be run each time through the state transition. Activities added to the state will be executed upon entering that state serially.- Parameters:
e-- Returns:
-
getName
-
isEndState
public boolean isEndState() -
hashCode
public int hashCode() -
equals
-