State Transitions
A state transition represents a change from an originating state to a successor state (which may be the same as the originating state). An action can accompany a state transition.
There are two ways to transition out of a state—automatic and nonautomatic. An automatic state transition occurs when the activity of the originating state completes—there is no named event associated with the state transition. A nonautomatic state transition is caused by a named event (either from another object or from outside the system). Both types of state transitions are considered to take zero time and cannot be interrupted. A state transition is represented by an arrow that points from the originating state to the successor state.
CREATING ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access