Transition
A transition leaving a state defines the response of an object in the state to the occurrence of an event. In general, a transition has an event trigger, a guard condition, an effect, and a target state. Table 7-2 shows kinds of transitions and implicit effects invoked by transitions.
Transition Kind | Description | Syntax |
---|---|---|
entry transition | The specification of an entry activity that is executed when a state is entered | entry/ activity |
exit transition | The specification of an exit activity that is executed when a state is exited | exit/ activity |
external transition | A response to an event that causes a change of state or a self-transition, together with a specified effect. It may also cause the execution ... |
Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.