Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
entry activity
An action performed when a state is entered.
See also exit activity, run-to-completion, state machine, transition.
Semantics
A state may have an optional entry activity attached to it. Whenever the state is entered in any way, the entry activity is executed after any activities attached to outer states or transitions and before any activities attached to inner states. The entry activity may not be evaded by any means. It is guaranteed to have been executed whenever the owning state or a state nested within it is active.
Execution order. On a transition between two states with exit and entry activity in which the transition also has an attached activity, the execution order is: Any exit activities are executed on the source state ...
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