Class JMoleculesRules

java.lang.Object
org.jmolecules.archunit.JMoleculesRules

@Deprecated public class JMoleculesRules extends Object
Deprecated.
since 0.5, for removal in 0.6. Use JMoleculesDddRules instead.
A set of ArchUnit rules that allow verification of domain models. In short the rules here verify:
  • Aggregates only refer to entities that are declared to be part of it.
  • References to other aggregates are established via Associations or identifier references.
Those rules are mostly driven by what's been presented by John Sullivan in his blog post here.
Author:
Oliver Drotbohm