Index
All Classes and Interfaces|All Packages
A
- aggregateReferencesShouldBeViaIdOrAssociation() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
-
An
ArchRulethat ensures that oneAggregateRootdoes not reference another via the remote AggregateRoot type but rather via their identifier type or an explicitAssociationtype. - aggregateReferencesShouldBeViaIdOrAssociation() - Static method in class org.jmolecules.archunit.JMoleculesRules
-
Deprecated.An
ArchRulethat ensures that oneAggregateRootdoes not reference another via the remote AggregateRoot type but rather via their identifier type or an explicitAssociationtype. - all() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
-
An
ArchRulethat's composed of all other rules declared in this class. - all() - Static method in class org.jmolecules.archunit.JMoleculesRules
-
Deprecated.An
ArchRulethat's composed of all other rules declared in this class. - annotatedEntitiesAndAggregatesNeedToHaveAnIdentifier() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
-
Verifies that classes annotated with
AggregateRootorEntitydeclare a field annotated withIdentifier.
D
- defaultLookup() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules.StereotypeLookup
-
Creates a default
JMoleculesArchitectureRules.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.
E
- ensureHexagonal() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
ArchRulefor Hexagonal Architecture as defined here. - ensureHexagonal(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
ArchRulefor Hexagonal Architecture as defined here using the givenJMoleculesArchitectureRules.StereotypeLookup. - ensureHexagonal(JMoleculesArchitectureRules.VerificationDepth) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
ArchRulefor Hexagonal Architecture as defined here and a givenJMoleculesArchitectureRules.VerificationDepth. - ensureHexagonal(JMoleculesArchitectureRules.VerificationDepth, JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
- ensureLayering() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
Architectures.LayeredArchitecturedefined by considering JMolecules layer annotations allowing access of all layers below. - ensureLayering(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
Architectures.LayeredArchitecturedefined by considering JMolecules layer annotations allowing access of all layers below. - ensureLayeringStrict() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
Architectures.LayeredArchitecturedefined by considering JMolecules layer annotations allowing access to the next lower layer only. - ensureLayeringStrict(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
Architectures.LayeredArchitecturedefined by considering JMolecules layer annotations allowing access to the next lower layer only. - ensureOnionClassical() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
ArchRuledefining the classic Onion Architecture. - ensureOnionClassical(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
ArchRuledefining the classic Onion Architecture. - ensureOnionSimple() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
ArchRuledefining a simplified variant of the Onion Architecture. - ensureOnionSimple(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
-
ArchUnit
ArchRuledefining a simplified variant of the Onion Architecture. - entitiesShouldBeDeclaredForUseInSameAggregate() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
-
An
ArchRulethat verifies that fields that implementEntitywithin a type implementingAggregateRootdeclare the aggregate type as the owning aggregate. - entitiesShouldBeDeclaredForUseInSameAggregate() - Static method in class org.jmolecules.archunit.JMoleculesRules
-
Deprecated.An
ArchRulethat verifies that fields that implementEntitywithin a type implementingAggregateRootdeclare the aggregate type as the owning aggregate.
J
- JMoleculesArchitectureRules - Class in org.jmolecules.archunit
-
ArchUnit rules to verify architectures defined via JMolecules' annotations.
- JMoleculesArchitectureRules() - Constructor for class org.jmolecules.archunit.JMoleculesArchitectureRules
- JMoleculesArchitectureRules.StereotypeLookup - Class in org.jmolecules.archunit
-
A strategy how to look up stereotypes for the classes to be analyzed.
- JMoleculesArchitectureRules.VerificationDepth - Enum Class in org.jmolecules.archunit
-
Defines the depth of verification of Hexagonal Architectures, in particular the relationship between adapters and the application core.
- JMoleculesDddRules - Class in org.jmolecules.archunit
-
A set of ArchUnit rules that allow verification of domain models.
- JMoleculesDddRules() - Constructor for class org.jmolecules.archunit.JMoleculesDddRules
- JMoleculesRules - Class in org.jmolecules.archunit
-
Deprecated.
- JMoleculesRules() - Constructor for class org.jmolecules.archunit.JMoleculesRules
-
Deprecated.
L
- LENIENT - Enum constant in enum class org.jmolecules.archunit.JMoleculesArchitectureRules.VerificationDepth
-
Allows access to non-port application code from primary and secondary adapters and ports.
O
- onMarkerType(String) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules.StereotypeLookup
-
Creates a
JMoleculesArchitectureRules.StereotypeLookuptrying to find the stereotype annotation on a marker type located in the reference type's package or parent package. - onMarkerTypeName(Class<?>) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules.StereotypeLookup
-
Creates a
JMoleculesArchitectureRules.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. - org.jmolecules.archunit - package org.jmolecules.archunit
- org.jmolecules.integrations.archunit - module org.jmolecules.integrations.archunit
S
- SEMI_STRICT - Enum constant in enum class org.jmolecules.archunit.JMoleculesArchitectureRules.VerificationDepth
-
Allows access to non-port application code from secondary but not primary adapters and ports.
- STRICT - Enum constant in enum class org.jmolecules.archunit.JMoleculesArchitectureRules.VerificationDepth
-
Does not allow access to non-port application code from any adapters.
V
- valueObjectsMustNotReferToIdentifiables() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
-
Verifies that value objects and identifiers do not refer to identifiables.
- valueOf(String) - Static method in enum class org.jmolecules.archunit.JMoleculesArchitectureRules.VerificationDepth
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.jmolecules.archunit.JMoleculesArchitectureRules.VerificationDepth
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withParentPackageTraversal() - Method in class org.jmolecules.archunit.JMoleculesArchitectureRules.StereotypeLookup
-
Configures the
JMoleculesArchitectureRules.StereotypeLookupto also look for package-based stereotypes in parent packages.
All Classes and Interfaces|All Packages
JMoleculesDddRulesinstead.