Class ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
java.lang.Object
org.springframework.modulith.core.ArchitecturallyEvidentType
org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- Enclosing class:
- ArchitecturallyEvidentType
static class ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
extends ArchitecturallyEvidentType
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.modulith.core.ArchitecturallyEvidentType
ArchitecturallyEvidentType.DelegatingType, ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType, ArchitecturallyEvidentType.ReferenceMethod, ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType, ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
-
Constructor Summary
ConstructorDescriptionSpringAwareArchitecturallyEvidentType
(com.tngtech.archunit.core.domain.JavaClass type, Classes beanTypes) -
Method Summary
Modifier and TypeMethodDescriptionStream<com.tngtech.archunit.core.domain.JavaClass>
Returns other types that are interesting in the context of the currentArchitecturallyEvidentType
.boolean
Returns whether the type is considered an aggregate root in the DDD sense.boolean
boolean
boolean
boolean
boolean
Returns whether the type is considered a repository in the DDD sense.boolean
Methods inherited from class org.springframework.modulith.core.ArchitecturallyEvidentType
getAbbreviatedFullName, getType, isEntity, isValueObject, of, toString
-
Constructor Details
-
SpringAwareArchitecturallyEvidentType
public SpringAwareArchitecturallyEvidentType(com.tngtech.archunit.core.domain.JavaClass type, Classes beanTypes)
-
-
Method Details
-
isAggregateRoot
public boolean isAggregateRoot()Description copied from class:ArchitecturallyEvidentType
Returns whether the type is considered an aggregate root in the DDD sense.- Specified by:
isAggregateRoot
in classArchitecturallyEvidentType
- Returns:
-
isRepository
public boolean isRepository()Description copied from class:ArchitecturallyEvidentType
Returns whether the type is considered a repository in the DDD sense.- Specified by:
isRepository
in classArchitecturallyEvidentType
- Returns:
-
isService
public boolean isService()- Overrides:
isService
in classArchitecturallyEvidentType
-
isController
public boolean isController()- Overrides:
isController
in classArchitecturallyEvidentType
-
isEventListener
public boolean isEventListener()- Overrides:
isEventListener
in classArchitecturallyEvidentType
-
isConfigurationProperties
public boolean isConfigurationProperties()- Overrides:
isConfigurationProperties
in classArchitecturallyEvidentType
-
isInjectable
public boolean isInjectable()- Overrides:
isInjectable
in classArchitecturallyEvidentType
-
getReferenceTypes
Description copied from class:ArchitecturallyEvidentType
Returns other types that are interesting in the context of the currentArchitecturallyEvidentType
. For example, for an event listener this might be the event types the particular listener is interested in.- Overrides:
getReferenceTypes
in classArchitecturallyEvidentType
- Returns:
-
getReferenceMethods
- Overrides:
getReferenceMethods
in classArchitecturallyEvidentType
-