Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Working with external objects


If you are dragging and dropping identification, types and categories from the Types and Properties window to the Main window (Model tab) to create your selection criteria, by default, the Architecture Checker will use the basic All objects matching criterion. This will match all objects with any of the criteria you add in.

In addition, any external objects (i.e. external to the Application) of the matched object(s) will also be assigned to the layer or set (as well as sub-objects). Including external objects is useful for example if, when a selection criterion matches a Spring bean class, this class will be included in the Layer regardless of whether it belongs to the Application or comes from an external JAR.

If you prefer not to include external objects, you can do two things:

Modify existing criteria in a layer or set
  • Right click the pink criterion section in the layer or set
  • Choose Properties in the contextual menu
  • Untick the Include external objects option:

  • Click OK to complete the operation.
New empty layer or set
  • Right click the empty layer or set
  • Choose Add selection criteria in the contextual menu
  • Untick the Include external objects option as above
  • Click OK to complete the operation.
Results

Either operation above will result in a criterion that does not include external objects:

Colours

Depending on the combination of options you choose, the Layer or Set will change colour as follows (note the background colour and the yellow/grey circular icon in the top left of the criterion):

Include sub-objects ticked, Include external objects not ticked
Include sub-objects ticked, Include external objects ticked
Include sub-objects not ticked, Include external objects not ticked
Include sub-objects not ticked, Include external objects ticked

CAST Website

  • No labels