<<< When to Use State Diagrams | Index | Types of States >>> |
Set of states S:
each state represents a specific stage in the lifecycle of an object.
Set of events E:
each event represents an incident, information that something specific has happened.
Transitions:
S × E -> S
Each transition specifies the new state of the object...
...after it received a particular event in particular state.
Actions: each action specifies the activity that must take place
when the object transitions to a particular state (one action per state.)
<<< When to Use State Diagrams | Index | Types of States >>> |