Uses of Class
org.springframework.modulith.core.ApplicationModule
Package
Description
Core, internal abstractions of Spring Modulith.
Documentation support for Spring Modulith.
Support for application module observability.
Integration test support for Spring Modulith
ApplicationModules
.-
Uses of ApplicationModule in org.springframework.modulith.core
Modifier and TypeMethodDescription(package private) ApplicationModule
ApplicationModule.QualifiedDependency.getExistingModuleOf
(com.tngtech.archunit.core.domain.JavaClass javaClass, ApplicationModules modules) ApplicationModuleDependency.getTargetModule()
The targetApplicationModule
.Modifier and TypeMethodDescriptionApplicationModule.getBootstrapDependencies
(ApplicationModules modules) Returns all modules that contain types which the types of the current module depend on.ApplicationModule.getBootstrapDependencies
(ApplicationModules modules, DependencyDepth depth) ApplicationModules.getModuleByName
(String name) Returns theApplicationModule
with the given name.ApplicationModules.getModuleByType
(com.tngtech.archunit.core.domain.JavaClass type) Returns the module that contains the givenJavaClass
.ApplicationModules.getModuleByType
(Class<?> candidate) Returns theApplicationModule
containing the given type.ApplicationModules.getModuleByType
(String candidate) Returns theApplicationModule
containing the type with the given simple or fully-qualified name.ApplicationModules.getModuleForPackage
(String name) ApplicationModules.getSharedModules()
Returns allApplicationModule
s registered as shared ones.ApplicationModules.iterator()
ApplicationModules.stream()
Returns allApplicationModule
s.Modifier and TypeMethodDescriptionboolean
ApplicationModuleDependencies.contains
(ApplicationModule module) Returns whether the dependencies contain the givenApplicationModule
.FormatableType.getAbbreviatedFullName
(ApplicationModule module) Returns the abbreviated full name of the type abbreviating only the part of the givenApplicationModule
's base package.ApplicationModule.DeclaredDependency.of
(String identifier, ApplicationModule source, ApplicationModules modules) Creates anApplicationModule.DeclaredDependency
to the module and optionally named interface defined by the given identifier.(package private) static SpringBean
SpringBean.of
(com.tngtech.archunit.core.domain.JavaClass type, ApplicationModule module) ApplicationModule.DeclaredDependency.to
(ApplicationModule module) Creates a newApplicationModule.DeclaredDependency
to the unnamed interface of the givenApplicationModule
.JavaAccessSource.toString
(ApplicationModule module) Source.toString
(ApplicationModule module) Renders the source in human readable way. -
Uses of ApplicationModule in org.springframework.modulith.docs
Modifier and TypeMethodDescriptionConfigurationProperties.getModuleProperties
(ApplicationModule module) Returns allConfigurationProperties.ModuleProperty
instances for the givenApplicationModule
.(package private) Documenter.CanvasOptions.Groupings
Documenter.CanvasOptions.groupBeans
(ApplicationModule module) (package private) Predicate<com.tngtech.archunit.core.domain.JavaClass>
Documenter.CanvasOptions.hideInternalFilter
(ApplicationModule module) Asciidoctor.renderBeanReferences
(ApplicationModule module) Asciidoctor.renderConfigurationProperties
(ApplicationModule module, List<ConfigurationProperties.ModuleProperty> properties) Asciidoctor.renderEvents
(ApplicationModule module) Asciidoctor.renderSpringBeans
(ApplicationModule module, Documenter.CanvasOptions options) (package private) String
Documenter.toModuleCanvas
(ApplicationModule module) (package private) String
Documenter.toModuleCanvas
(ApplicationModule module, String apiBase) (package private) String
Documenter.toModuleCanvas
(ApplicationModule module, Documenter.CanvasOptions options) Documenter.writeModuleAsPlantUml
(ApplicationModule module) Writes the PlantUML component diagram for the givenApplicationModule
.Documenter.writeModuleAsPlantUml
(ApplicationModule module, Documenter.DiagramOptions options) Writes the PlantUML component diagram for the givenApplicationModule
with the given renderingDocumenter.DiagramOptions
.Modifier and TypeMethodDescriptionDocumenter.DiagramOptions.withColorSelector
(Function<ApplicationModule, Optional<String>> colorSelector) A callback to return a hex-encoded color perApplicationModule
.Documenter.DiagramOptions.withDefaultDisplayName
(Function<ApplicationModule, String> defaultDisplayName) A callback to return a default display names for a givenApplicationModule
.Documenter.DiagramOptions.withExclusions
(Predicate<ApplicationModule> exclusions) APredicate
to define the which modules to exclude from the diagram to be created.Documenter.DiagramOptions.withTargetOnly
(Predicate<ApplicationModule> targetOnly) APredicate
to define which of the modules shall only be considered targets, i.e.ModifierConstructorDescription(package private)
DiagramOptions
(Set<DependencyType> dependencyTypes, DependencyDepth dependencyDepth, Predicate<ApplicationModule> exclusions, Predicate<com.structurizr.model.Component> componentFilter, Predicate<ApplicationModule> targetOnly, String targetFileName, Function<ApplicationModule, Optional<String>> colorSelector, Function<ApplicationModule, String> defaultDisplayName, Documenter.DiagramOptions.DiagramStyle style, Documenter.DiagramOptions.ElementsWithoutRelationships elementsWithoutRelationships) (package private)
DiagramOptions
(Set<DependencyType> dependencyTypes, DependencyDepth dependencyDepth, Predicate<ApplicationModule> exclusions, Predicate<com.structurizr.model.Component> componentFilter, Predicate<ApplicationModule> targetOnly, String targetFileName, Function<ApplicationModule, Optional<String>> colorSelector, Function<ApplicationModule, String> defaultDisplayName, Documenter.DiagramOptions.DiagramStyle style, Documenter.DiagramOptions.ElementsWithoutRelationships elementsWithoutRelationships) -
Uses of ApplicationModule in org.springframework.modulith.observability
Modifier and TypeMethodDescriptionboolean
DefaultObservedModule.isObservedModule
(ApplicationModule module) boolean
ObservedModule.isObservedModule
(ApplicationModule module) ModifierConstructorDescription(package private)
Creates a newDefaultObservedModule
for the givenApplicationModule
. -
Uses of ApplicationModule in org.springframework.modulith.test
Modifier and TypeMethodDescriptionModuleTestExecution.getModule()
Returns the primaryApplicationModule
to bootstrap.Modifier and TypeMethodDescriptionModuleTestExecution.getDependencies()
Returns all module dependencies, based on the currentApplicationModuleTest.BootstrapMode
.ModuleTestExecution.getExtraIncludes()
Returns allApplicationModule
s registered as extra includes for the execution.ModuleTestExecution.iterator()