Index

A D E J L O S V W 
All Classes and Interfaces|All Packages

A

aggregateReferencesShouldBeViaIdOrAssociation() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
An ArchRule that ensures that one AggregateRoot does not reference another via the remote AggregateRoot type but rather via their identifier type or an explicit Association type.
aggregateReferencesShouldBeViaIdOrAssociation() - Static method in class org.jmolecules.archunit.JMoleculesRules
Deprecated.
An ArchRule that ensures that one AggregateRoot does not reference another via the remote AggregateRoot type but rather via their identifier type or an explicit Association type.
all() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
An ArchRule that's composed of all other rules declared in this class.
all() - Static method in class org.jmolecules.archunit.JMoleculesRules
Deprecated.
An ArchRule that's composed of all other rules declared in this class.
annotatedEntitiesAndAggregatesNeedToHaveAnIdentifier() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
Verifies that classes annotated with AggregateRoot or Entity declare a field annotated with Identifier.

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 ArchRule for Hexagonal Architecture as defined here.
ensureHexagonal(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
ArchUnit ArchRule for Hexagonal Architecture as defined here using the given JMoleculesArchitectureRules.StereotypeLookup.
ensureHexagonal(JMoleculesArchitectureRules.VerificationDepth) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
ArchUnit ArchRule for Hexagonal Architecture as defined here and a given JMoleculesArchitectureRules.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.LayeredArchitecture defined by considering JMolecules layer annotations allowing access of all layers below.
ensureLayering(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
ArchUnit Architectures.LayeredArchitecture defined by considering JMolecules layer annotations allowing access of all layers below.
ensureLayeringStrict() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
ArchUnit Architectures.LayeredArchitecture defined 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.LayeredArchitecture defined by considering JMolecules layer annotations allowing access to the next lower layer only.
ensureOnionClassical() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
ArchUnit ArchRule defining the classic Onion Architecture.
ensureOnionClassical(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
ArchUnit ArchRule defining the classic Onion Architecture.
ensureOnionSimple() - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
ArchUnit ArchRule defining a simplified variant of the Onion Architecture.
ensureOnionSimple(JMoleculesArchitectureRules.StereotypeLookup) - Static method in class org.jmolecules.archunit.JMoleculesArchitectureRules
ArchUnit ArchRule defining a simplified variant of the Onion Architecture.
entitiesShouldBeDeclaredForUseInSameAggregate() - Static method in class org.jmolecules.archunit.JMoleculesDddRules
An ArchRule that verifies that fields that implement Entity within a type implementing AggregateRoot declare the aggregate type as the owning aggregate.
entitiesShouldBeDeclaredForUseInSameAggregate() - Static method in class org.jmolecules.archunit.JMoleculesRules
Deprecated.
An ArchRule that verifies that fields that implement Entity within a type implementing AggregateRoot declare 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.
since 0.5, for removal in 0.6. Use JMoleculesDddRules instead.
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.StereotypeLookup trying 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.StereotypeLookup trying 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.StereotypeLookup to also look for package-based stereotypes in parent packages.
A D E J L O S V W 
All Classes and Interfaces|All Packages