Uses of Class
org.springframework.modulith.core.ApplicationModule
Packages that use 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
Methods in org.springframework.modulith.core that return ApplicationModuleModifier and TypeMethodDescription(package private) ApplicationModule
ApplicationModule.QualifiedDependency.getExistingModuleOf
(com.tngtech.archunit.core.domain.JavaClass javaClass, ApplicationModules modules) ApplicationModuleDependency.getTargetModule()
The targetApplicationModule
.Methods in org.springframework.modulith.core that return types with arguments of type ApplicationModuleModifier 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) Returns theApplicationModule
containing the given package.ApplicationModules.getSharedModules()
Returns allApplicationModule
s registered as shared ones.ApplicationModules.iterator()
ApplicationModules.stream()
Returns allApplicationModule
s.Methods in org.springframework.modulith.core with parameters of type ApplicationModuleModifier 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
Methods in org.springframework.modulith.docs with parameters of type ApplicationModuleModifier 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.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
.Method parameters in org.springframework.modulith.docs with type arguments of type ApplicationModuleModifier 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.Constructor parameters in org.springframework.modulith.docs with type arguments of type ApplicationModuleModifierConstructorDescription(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
Methods in org.springframework.modulith.observability with parameters of type ApplicationModuleModifier and TypeMethodDescriptionboolean
DefaultObservedModule.isObservedModule
(ApplicationModule module) boolean
ObservedModule.isObservedModule
(ApplicationModule module) Constructors in org.springframework.modulith.observability with parameters of type ApplicationModuleModifierConstructorDescription(package private)
Creates a newDefaultObservedModule
for the givenApplicationModule
. -
Uses of ApplicationModule in org.springframework.modulith.test
Methods in org.springframework.modulith.test that return ApplicationModuleModifier and TypeMethodDescriptionModuleTestExecution.getModule()
Returns the primaryApplicationModule
to bootstrap.Methods in org.springframework.modulith.test that return types with arguments of type ApplicationModuleModifier 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()