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
ConstructorsConstructorDescriptionSpringAwareArchitecturallyEvidentType(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.booleanReturns whether the type is considered an aggregate root in the DDD sense.booleanbooleanbooleanbooleanbooleanReturns whether the type is considered a repository in the DDD sense.booleanMethods 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:ArchitecturallyEvidentTypeReturns whether the type is considered an aggregate root in the DDD sense.- Specified by:
isAggregateRootin classArchitecturallyEvidentType- Returns:
-
isRepository
public boolean isRepository()Description copied from class:ArchitecturallyEvidentTypeReturns whether the type is considered a repository in the DDD sense.- Specified by:
isRepositoryin classArchitecturallyEvidentType- Returns:
-
isService
public boolean isService()- Overrides:
isServicein classArchitecturallyEvidentType
-
isController
public boolean isController()- Overrides:
isControllerin classArchitecturallyEvidentType
-
isEventListener
public boolean isEventListener()- Overrides:
isEventListenerin classArchitecturallyEvidentType
-
isConfigurationProperties
public boolean isConfigurationProperties()- Overrides:
isConfigurationPropertiesin classArchitecturallyEvidentType
-
isInjectable
public boolean isInjectable()- Overrides:
isInjectablein classArchitecturallyEvidentType
-
getReferenceTypes
Description copied from class:ArchitecturallyEvidentTypeReturns 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:
getReferenceTypesin classArchitecturallyEvidentType- Returns:
-
getReferenceMethods
- Overrides:
getReferenceMethodsin classArchitecturallyEvidentType
-