Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
do activity
Ongoing execution of a behavior that occurs within a state. Contrast: effect, entry activity, exit activity.
See also completion transition, state.
Semantics
A do-activity is the execution of behavior within a state machine that is based on holding a given state. The activity starts when the state is entered and continues until the activity completes on its own or the state is exited. A transition that forces an exit from the state aborts the do activity. A do-activity is not terminated by the firing of an internal transition, because there is no change of state. The action of the internal transition may explicitly terminate it.
A do-activity is an exception to the normal run-to-completion semantics of a state machine, in that it ...
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