consider

A combined fragment in an interaction that filters messages so that only those of specified message types are shown.

Semantics

A consider construct has a list of message types and a subfragment, which is an interaction fragment. Within the subfragment, only messages whose types appear in the list are represented. This indicates that messages of other types may occur but they are not represented in the interaction, which is therefore an abstraction of the actual system. This construct is often combined with assertion to indicate that a certain message must follow another message.

Notation

A consider construct is shown in a sequence diagram as a region with the keyword consider followed by a list of message names.

Figure 14-94 shows a ...

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.