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.
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) ApplicationModuleApplicationModule.QualifiedDependency.getExistingModuleOf(com.tngtech.archunit.core.domain.JavaClass javaClass, ApplicationModules modules) @Nullable ApplicationModuleApplicationModuleDependencies.getModuleByType(String name) Returns theApplicationModulecontaining the given type.ApplicationModule.AllowedDependency.getTargetModule()Returns the target module of the dependency.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) (package private) Collection<ApplicationModule>ApplicationModule.getDirectlyNestedModules(ApplicationModules modules) Returns theApplicationModules directly nested inside the current one.ApplicationModules.getModuleByName(String name) Returns theApplicationModulewith the given name.ApplicationModules.getModuleByType(com.tngtech.archunit.core.domain.JavaClass type) Returns the module that contains the givenJavaClass.ApplicationModules.getModuleByType(Class<?> candidate) Returns theApplicationModulecontaining the given type.ApplicationModules.getModuleByType(String candidate) Returns theApplicationModulecontaining the type with the given simple or fully-qualified name.ApplicationModules.getModuleForPackage(String name) Returns theApplicationModulecontaining the given package.(package private) Collection<ApplicationModule>ApplicationModule.getNestedModules(ApplicationModules modules) Returns all of the currentApplicationModule's nestedApplicationModules including ones contained in nested modules in turn.ApplicationModules.getNestedModules(ApplicationModule module) Returns all nested modules of the givenApplicationModule.(package private) Optional<ApplicationModule>ApplicationModule.getParentModule(ApplicationModules modules) Returns the current module's immediate parent module, if present.ApplicationModules.getParentOf(ApplicationModule module) Returns the parentApplicationModuleif the given one has one.ApplicationModules.getSharedModules()Returns allApplicationModules registered as shared ones.ApplicationModules.iterator()ApplicationModules.stream()Returns allApplicationModules.ApplicationModuleDependencies.uniqueModules()Returns all uniqueApplicationModules involved in the dependencies.Methods in org.springframework.modulith.core with parameters of type ApplicationModuleModifier and TypeMethodDescriptionintApplicationModule.compareTo(ApplicationModule o) booleanApplicationModuleDependencies.contains(ApplicationModule module) Returns whether the dependencies contain the givenApplicationModule.FormattableType.getAbbreviatedFullName(@Nullable ApplicationModule module) Returns the abbreviated full name of the type abbreviating only the part of the givenApplicationModule's base package.FormattableType.getAbbreviatedFullName(@Nullable ApplicationModule module, FormattableType.NonModuleTypeAbbreviation abbreviation) Returns the abbreviated full name of the type abbreviating only the part of the givenApplicationModule's base package.ApplicationModules.getNestedModules(ApplicationModule module) Returns all nested modules of the givenApplicationModule.ApplicationModules.getParentOf(ApplicationModule module) Returns the parentApplicationModuleif the given one has one.booleanApplicationModules.hasParent(ApplicationModule module) Returns whether the givenApplicationModulehas a parent one.(package private) static ApplicationModule.AllowedDependencyApplicationModule.AllowedDependency.of(String identifier, ApplicationModule source, ApplicationModules modules) Creates anApplicationModule.AllowedDependencyto the module and optionally named interface defined by the given identifier.(package private) static SpringBeanSpringBean.of(com.tngtech.archunit.core.domain.JavaClass type, ApplicationModule module) (package private) static ApplicationModule.AllowedDependencyApplicationModule.AllowedDependency.to(ApplicationModule module) Creates a newApplicationModule.AllowedDependencyto 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.ModulePropertyinstances for the givenApplicationModule.(package private) Documenter.CanvasOptions.GroupingsDocumenter.CanvasOptions.groupBeans(ApplicationModule module) (package private) Predicate<com.tngtech.archunit.core.domain.JavaClass>Documenter.CanvasOptions.hideInternalFilter(ApplicationModule module) Asciidoctor.renderBeanReferences(ApplicationModule module) Asciidoctor.renderEventsListenedTo(ApplicationModule module) Asciidoctor.renderModuleDescription(ApplicationModule module) Asciidoctor.renderPublishedEvents(ApplicationModule module) Asciidoctor.renderSpringBeans(ApplicationModule module, Documenter.CanvasOptions options) (package private) StringDocumenter.toModuleCanvas(ApplicationModule module) (package private) StringDocumenter.toModuleCanvas(ApplicationModule module, String apiBase) (package private) StringDocumenter.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 givenApplicationModulewith 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) APredicateto define the which modules to exclude from the diagram to be created.Documenter.DiagramOptions.withTargetOnly(Predicate<ApplicationModule> targetOnly) APredicateto define which of the modules shall only be considered targets, i.e. all efferent relationships are going to be hidden from the rendered view.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, @Nullable String targetFileName, Function<ApplicationModule, Optional<String>> colorSelector, Function<ApplicationModule, String> defaultDisplayName, Documenter.DiagramOptions.DiagramStyle style, Documenter.DiagramOptions.ElementsWithoutRelationships elementsWithoutRelationships, Map<String, String> skinParams) (package private)DiagramOptions(Set<DependencyType> dependencyTypes, DependencyDepth dependencyDepth, Predicate<ApplicationModule> exclusions, Predicate<com.structurizr.model.Component> componentFilter, Predicate<ApplicationModule> targetOnly, @Nullable String targetFileName, Function<ApplicationModule, Optional<String>> colorSelector, Function<ApplicationModule, String> defaultDisplayName, Documenter.DiagramOptions.DiagramStyle style, Documenter.DiagramOptions.ElementsWithoutRelationships elementsWithoutRelationships, Map<String, String> skinParams) -
Uses of ApplicationModule in org.springframework.modulith.observability
Methods in org.springframework.modulith.observability with parameters of type ApplicationModuleModifier and TypeMethodDescriptionbooleanObservedModule.isObservedModule(ApplicationModule module) -
Uses of ApplicationModule in org.springframework.modulith.observability.support
Methods in org.springframework.modulith.observability.support with parameters of type ApplicationModuleModifier and TypeMethodDescriptionbooleanDefaultObservedModule.isObservedModule(ApplicationModule module) Constructors in org.springframework.modulith.observability.support with parameters of type ApplicationModuleModifierConstructorDescription(package private)Creates a newDefaultObservedModulefor the givenApplicationModule. -
Uses of ApplicationModule in org.springframework.modulith.test
Methods in org.springframework.modulith.test that return ApplicationModuleModifier and TypeMethodDescriptionModuleTestExecution.getModule()Returns the primaryApplicationModuleto 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 allApplicationModules registered as extra includes for the execution.ModuleTestExecution.iterator()