Uses of Class
org.jmolecules.archunit.JMoleculesArchitectureRules.StereotypeLookup
-
Uses of JMoleculesArchitectureRules.StereotypeLookup in org.jmolecules.archunit
Methods in org.jmolecules.archunit that return JMoleculesArchitectureRules.StereotypeLookupModifier and TypeMethodDescriptionJMoleculesArchitectureRules.StereotypeLookup.defaultLookup()Creates a defaultJMoleculesArchitectureRules.StereotypeLookup, which means it for each type, it will try to find the annotation on the type itself or any meta annotations and falls back to traversing the package annotations.JMoleculesArchitectureRules.StereotypeLookup.onMarkerType(String name) Creates aJMoleculesArchitectureRules.StereotypeLookuptrying to find the stereotype annotation on a marker type located in the reference type's package or parent package.JMoleculesArchitectureRules.StereotypeLookup.onMarkerTypeName(Class<?> type) Creates aJMoleculesArchitectureRules.StereotypeLookuptrying to find the stereotype annotation on marker types with the same simple name as the given one located in the reference type's package or parent package.JMoleculesArchitectureRules.StereotypeLookup.withParentPackageTraversal()Configures theJMoleculesArchitectureRules.StereotypeLookupto also look for package-based stereotypes in parent packages.Methods in org.jmolecules.archunit with parameters of type JMoleculesArchitectureRules.StereotypeLookupModifier and TypeMethodDescriptionstatic com.tngtech.archunit.lang.ArchRuleJMoleculesArchitectureRules.ensureHexagonal(JMoleculesArchitectureRules.StereotypeLookup lookup) ArchUnitArchRulefor Hexagonal Architecture as defined here using the givenJMoleculesArchitectureRules.StereotypeLookup.static com.tngtech.archunit.lang.ArchRuleJMoleculesArchitectureRules.ensureHexagonal(JMoleculesArchitectureRules.VerificationDepth depth, JMoleculesArchitectureRules.StereotypeLookup lookup) static com.tngtech.archunit.library.Architectures.LayeredArchitectureJMoleculesArchitectureRules.ensureLayering(JMoleculesArchitectureRules.StereotypeLookup lookup) ArchUnitArchitectures.LayeredArchitecturedefined by considering JMolecules layer annotations allowing access of all layers below.static com.tngtech.archunit.library.Architectures.LayeredArchitectureJMoleculesArchitectureRules.ensureLayeringStrict(JMoleculesArchitectureRules.StereotypeLookup lookup) ArchUnitArchitectures.LayeredArchitecturedefined by considering JMolecules layer annotations allowing access to the next lower layer only.static com.tngtech.archunit.lang.ArchRuleJMoleculesArchitectureRules.ensureOnionClassical(JMoleculesArchitectureRules.StereotypeLookup lookup) ArchUnitArchRuledefining the classic Onion Architecture.static com.tngtech.archunit.lang.ArchRuleJMoleculesArchitectureRules.ensureOnionSimple(JMoleculesArchitectureRules.StereotypeLookup lookup) ArchUnitArchRuledefining a simplified variant of the Onion Architecture.