Uses of Interface
org.springframework.modulith.core.ModulithMetadata
Package
Description
Core, internal abstractions of Spring Modulith.
-
Uses of ModulithMetadata in org.springframework.modulith.core
Modifier and TypeClassDescription(package private) class
ModulithMetadata
backed by aModulithic
annotated type.(package private) class
Creates a newModulithMetadata
representing the defaults ofModulithic
but without the annotation present.Modifier and TypeMethodDescriptionstatic ModulithMetadata
Creates a newModulithMetadata
for the given annotated type.static ModulithMetadata
Creates a newModulithMetadata
instance for the given package.static ModulithMetadata
Creates a newModulithMetadata
from the given package name.Modifier and TypeMethodDescriptionstatic Optional<ModulithMetadata>
Creates aModulithMetadata
inspectingModulithic
annotation or returnOptional.empty()
if the type given does not carry the annotation.static Optional<ModulithMetadata>
Creates a newModulithMetadata
representing the defaults of a class annotated withSpringBootApplication
but not customized withModulithic
orModulith
.ModifierConstructorDescriptionprotected
ApplicationModules
(ModulithMetadata metadata, com.tngtech.archunit.base.DescribedPredicate<? super com.tngtech.archunit.core.domain.JavaClass> ignored, boolean useFullyQualifiedModuleNames, com.tngtech.archunit.core.importer.ImportOption option) Creates a newApplicationModules
instance.protected
ApplicationModules
(ModulithMetadata metadata, Collection<String> packages, com.tngtech.archunit.base.DescribedPredicate<? super com.tngtech.archunit.core.domain.JavaClass> ignored, boolean useFullyQualifiedModuleNames, com.tngtech.archunit.core.importer.ImportOption option) Deprecated, for removal: This API element is subject to removal in a future version.since 1.2, for removal in 1.3.