Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This coding rule is only available for Java projects.

Note that compiled code must be available.

...

  • forbid access to *.web.* from *.dao.* classes
  • forbid access to java.util.Vector, java.util.Hashtable and java.util.Enumeration from any classesclass
  • forbid access to java.sql.* from *.ui.* and **.web.* classes

An The Architectural constraint rule template, provided by the Sonar rule engine, allows you to define as many architectural constraints constraint rules as desired:


When creating a custom rule based on this architectural rule template, you must specify the access constraints:

...