Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABBREVIATED - Enum constant in enum class org.springframework.modulith.core.FormattableType.NonModuleTypeAbbreviation
-
Abbreviate the package name.
- ActiveModules - Class in org.springframework.modulith.runtime.flyway
-
A
MigrationFilterthat inspects aModuleTestExecutionfor which modules are actually active and signals that only migrations for those are supposed to be executed. - ActiveModules(BeanFactory) - Constructor for class org.springframework.modulith.runtime.flyway.ActiveModules
-
Creates a new
ActiveModulesinstance for the givenBeanFactory - addAdvisor(Object, Advisor) - Method in class org.springframework.modulith.observability.support.ModuleObservabilitySupport
- addAdvisor(Object, Advisor, Consumer<ProxyFactory>) - Method in class org.springframework.modulith.observability.support.ModuleObservabilitySupport
- additionalPackages() - Element in annotation interface org.springframework.modulith.Modulith
-
Defines which additional packages shall be considered as modulith base packages in addition to the one of the class carrying this annotation.
- additionalPackages() - Element in annotation interface org.springframework.modulith.Modulithic
-
Defines which additional packages shall be considered as modulith base packages in addition to the one of the class carrying this annotation.
- affectsBuildResource() - Method in record class org.springframework.modulith.junit.Changes.Change.OtherFileChange
-
Returns whether the change affects a build resource.
- afterEach(ExtensionContext) - Method in class org.springframework.modulith.test.PublishedEventsParameterResolver
- afterEach(ExtensionContext) - Method in class org.springframework.modulith.test.ScenarioParameterResolver
- afterPropertiesSet() - Method in class org.springframework.modulith.events.jdbc.DatabaseSchemaInitializer
- afterPropertiesSet() - Method in class org.springframework.modulith.events.namastack.NamastackOutboxModeValidationConfiguration
- afterPropertiesSet() - Method in class org.springframework.modulith.events.neo4j.Neo4jIndexInitializer
- afterSingletonsInstantiated() - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- afterSingletonsInstantiated() - Method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.RuntimeApplicationModuleVerifier
- AggregateTestUtils - Class in org.springframework.modulith.test
-
Test utilities to work with aggregates.
- AggregateTestUtils() - Constructor for class org.springframework.modulith.test.AggregateTestUtils
- ALL - Enum constant in enum class org.springframework.modulith.core.DependencyDepth
- ALL - Static variable in class org.springframework.modulith.events.core.EventPublicationRepository.FailedCriteria
- ALL_DEPENDENCIES - Enum constant in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Bootstraps the current module as well as all upstream dependencies (including transitive ones).
- ALL_EVENTS - Enum constant in enum class org.springframework.modulith.observability.ModulithMetrics
-
Counter for the events.
- allBut(Collection<DependencyType>) - Static method in enum class org.springframework.modulith.core.DependencyType
-
Returns all
DependencyTypes except the given ones. - allBut(Stream<DependencyType>) - Static method in enum class org.springframework.modulith.core.DependencyType
- allBut(DependencyType...) - Static method in enum class org.springframework.modulith.core.DependencyType
-
Returns all
DependencyTypes except the given ones. - allFrom(JavaCodeUnit) - Static method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- allowedDependencies() - Element in annotation interface org.springframework.modulith.ApplicationModule
-
List the names of modules that the module is allowed to depend on.
- analyze(Throwable, Violations) - Method in class org.springframework.modulith.runtime.autoconfigure.FailedModuleVerificationFailureAnalyzer
- analyze(Throwable, MissingRuntimeDependency) - Method in class org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependencyFailureAnalyzer
- and() - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
-
Syntactic sugar to start a new assertion on a different type of event.
- and(Iterable<NamedInterface>) - Method in class org.springframework.modulith.core.NamedInterfaces
-
Creates a new
NamedInterfacesinstance with the givenNamedInterfaces added. - and(String) - Method in exception org.springframework.modulith.core.Violations
- and(Collection<JavaClass>) - Method in class org.springframework.modulith.core.Classes
-
Returns a Classes with the current elements and the given other ones combined.
- and(Classes) - Method in class org.springframework.modulith.core.Classes
- and(Violation) - Method in exception org.springframework.modulith.core.Violations
-
Creates a new
Violationswith the givenRuntimeExceptionadded to the current ones? - and(Violations) - Method in exception org.springframework.modulith.core.Violations
- and(MigrationFilter) - Method in interface org.springframework.modulith.runtime.flyway.MigrationFilter
-
Creates a new
MigrationFilterthat applies the current filter and the given one. - andAdditionalVerifications(ArchRule...) - Method in class org.springframework.modulith.core.VerificationOptions
-
Registers additional verifications on top of the default ones.
- andAdditionalVerifications(Collection<ArchRule>) - Method in class org.springframework.modulith.core.VerificationOptions
-
Registers additional verifications on top of the default ones.
- andCleanup(Runnable) - Method in class org.springframework.modulith.test.Scenario.When
- andCleanup(Consumer<T>) - Method in class org.springframework.modulith.test.Scenario.When
- andExpect(Class<E>) - Method in class org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Expects an event of the given type to arrive eventually.
- andKey(String) - Method in class org.springframework.modulith.events.RoutingTarget.RoutingTargetBuilder
-
Returns a new
RoutingTargetwith the already configured target and the given key. - andSubPackagesAnnotatedWith(Class<? extends Annotation>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns a new
Streamof the current package and all its sub-packages annotated with the given annotation type. - andVerify(BiConsumer<S, T>) - Method in class org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Verifies the state change result and stimulus result using the given
BiConsumer. - andVerify(Consumer<S>) - Method in class org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Verifies the state change result using the given
Consumer. - andVerifyEvents(Consumer<AssertablePublishedEvents>) - Method in class org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Verifies the underlying
AssertablePublishedEvents. - andWaitAtMost(Duration) - Method in class org.springframework.modulith.test.Scenario.When
-
Configures the
Scenarioto wait for at most the given duration for an event of the subsequent specification to arrive. - andWaitForEventOfType(Class<E>) - Method in class org.springframework.modulith.test.Scenario.When
-
Expects an event of the given type to arrive.
- andWaitForStateChange(Supplier<S>) - Method in class org.springframework.modulith.test.Scenario.When
-
Expects a particular state change on the module to produce a result.
- andWaitForStateChange(Supplier<S>, Predicate<? super S>) - Method in class org.springframework.modulith.test.Scenario.When
-
Expects a particular state change on the module to produce a result and uses the given
Predicateto determine whether the value is conclusive. - annotatedAsExternalized() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
A
Predicateto select all events annotated as to be externalized. - ANNOTATION_MISSING - Static variable in interface org.springframework.modulith.core.ModulithMetadata
- AnnotationModulithMetadata - Class in org.springframework.modulith.core
-
ModulithMetadatabacked by aModulithicannotated type. - AnnotationTargetLookup - Class in org.springframework.modulith.events
-
An annotation based target lookup strategy to enable caching of the function lookups that involve classpath checks.
- APPLICATION_LISTENER - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- applicationEventMulticaster(ObjectFactory<EventPublicationRegistry>, ObjectFactory<Environment>) - Static method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- applicationEventMulticaster(ObjectFactory<EventPublicationRegistry>, ObjectFactory<Environment>) - Static method in class org.springframework.modulith.events.config.EventPublicationConfiguration
- ApplicationListenerMethodAdapterRuntimeHints - Class in org.springframework.modulith.events.aot
- ApplicationListenerMethodAdapterRuntimeHints() - Constructor for class org.springframework.modulith.events.aot.ApplicationListenerMethodAdapterRuntimeHints
- ApplicationModule - Class in org.springframework.modulith.core
-
An application module.
- ApplicationModule - Annotation Interface in org.springframework.modulith
-
Annotation to customize information of a
Modulithmodule. - ApplicationModule(ApplicationModuleSource) - Constructor for class org.springframework.modulith.core.ApplicationModule
-
Creates a new
ApplicationModulefrom the givenApplicationModuleSource. - ApplicationModule(ApplicationModuleSource, JavaPackages) - Constructor for class org.springframework.modulith.core.ApplicationModule
-
Creates a new
ApplicationModulefor the given base package and whether to use fully-qualified module names. - ApplicationModule.AllowedDependencies - Class in org.springframework.modulith.core
-
A collection wrapper for
ApplicationModule.AllowedDependencyinstances. - ApplicationModule.AllowedDependency - Class in org.springframework.modulith.core
-
Describes a dependency explicitly declared as allowed for an
ApplicationModule. - ApplicationModule.QualifiedDependency - Class in org.springframework.modulith.core
- ApplicationModule.Type - Enum Class in org.springframework.modulith
-
The type of an application module
- ApplicationModuleDependencies - Class in org.springframework.modulith.core
-
The materialized, in other words actually present, dependencies of the current module towards other modules.
- ApplicationModuleDependency - Interface in org.springframework.modulith.core
-
A dependency between two
ApplicationModules. - ApplicationModuleDetectionStrategy - Interface in org.springframework.modulith.core
-
Strategy interface to customize which packages are considered module base packages.
- ApplicationModuleDetectionStrategyLookup - Class in org.springframework.modulith.core
-
A factory for the
ApplicationModuleDetectionStrategyto be used when scanning code forApplicationModules. - ApplicationModuleDetectionStrategyLookup() - Constructor for class org.springframework.modulith.core.ApplicationModuleDetectionStrategyLookup
- ApplicationModuleIdentifier - Class in org.springframework.modulith.core
-
An identifier of an
ApplicationModule. - applicationModuleIdentifiers(ApplicationModuleMetadata, ObjectProvider<ApplicationModulesRuntime>) - Method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ApplicationModuleIdentifiers - Class in org.springframework.modulith.core
-
ApplicationModuleIdentifiers that allow iteration in the order provided by the sources. - ApplicationModuleInformation - Interface in org.springframework.modulith.core
-
Abstraction for low-level module information.
- ApplicationModuleInformationFactory - Class in org.springframework.modulith.core
-
Encapsulate creation logic for
ApplicationModuleInformationinstances. - ApplicationModuleInformationFactory() - Constructor for class org.springframework.modulith.core.ApplicationModuleInformationFactory
- ApplicationModuleInformationFactory.AnnotationLookup - Interface in org.springframework.modulith.core
- ApplicationModuleInformationFactory.JMoleculesModule - Class in org.springframework.modulith.core
-
An
ApplicationModuleInformationfor the jMoleculesModuleannotation. - ApplicationModuleInformationFactory.SpringModulithModule - Class in org.springframework.modulith.core
-
An
ApplicationModuleInformationthat inspects theApplicationModuleannotation. - ApplicationModuleInitializer - Interface in org.springframework.modulith
-
An interface to be implemented by Spring components that are supposed to be initialized on
ApplicationStartedEvent. - applicationModuleInitializerInvoker(ApplicationModuleMetadata, ObjectProvider<ApplicationModulesRuntime>) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ApplicationModuleInitializerInvoker - Interface in org.springframework.modulith.runtime.autoconfigure
- ApplicationModuleInitializerRuntimeVerification - Class in org.springframework.modulith.core.config
-
A
BeanFactoryPostProcessorverifying that thespring-modulith-runtimeartifact is on the classpath in case any beans implementingApplicationModuleInitializerare found in theorg.springframework.context.ApplicationContext. - ApplicationModuleInitializerRuntimeVerification() - Constructor for class org.springframework.modulith.core.config.ApplicationModuleInitializerRuntimeVerification
- applicationModuleInitializingListener(ApplicationModuleInitializerInvoker, ObjectProvider<ApplicationModuleInitializer>) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ApplicationModuleListener - Annotation Interface in org.springframework.modulith.events
-
An
ApplicationModuleListeneris anAsyncSpringTransactionalEventListenerthat runs in a transaction itself. - applicationModuleMetadata(Resource) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
-
ApplicationModuleMetadataobtained from the Spring Modulith metadata located at "META-INF/spring-modulith/application-modules.json". - ApplicationModuleMetadata - Class in org.springframework.modulith.runtime.autoconfigure
-
An abstraction for the data captured in the application module metadata file (typically "META-INF/spring-modulith/application-modules.json").
- ApplicationModuleMetadata() - Constructor for class org.springframework.modulith.runtime.autoconfigure.ApplicationModuleMetadata
- ApplicationModuleObservingAdvisor(ObservedModuleType, ModuleEntryInterceptor) - Constructor for class org.springframework.modulith.observability.support.ModuleObservabilityBeanPostProcessor.ApplicationModuleObservingAdvisor
- ApplicationModules - Class in org.springframework.modulith.core
- ApplicationModules(ModulithMetadata, DescribedPredicate<? super JavaClass>, ImportOption) - Constructor for class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModulesinstance. - ApplicationModules.Filters - Class in org.springframework.modulith.core
- ApplicationModulesBootstrap(Class<?>, Executor) - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.ApplicationModulesBootstrap
- applicationModulesEndpoint(ObjectProvider<ApplicationModulesRuntime>) - Method in class org.springframework.modulith.actuator.autoconfigure.ApplicationModulesEndpointConfiguration
- ApplicationModulesEndpoint - Class in org.springframework.modulith.actuator
-
A Spring Boot actuator endpoint to expose the application module structure of a Spring Modulith based application.
- ApplicationModulesEndpointConfiguration - Class in org.springframework.modulith.actuator.autoconfigure
-
Auto-configuration for the
ApplicationModulesEndpoint. - ApplicationModulesEndpointConfiguration() - Constructor for class org.springframework.modulith.actuator.autoconfigure.ApplicationModulesEndpointConfiguration
- ApplicationModulesExporter - Class in org.springframework.modulith.core.util
-
Export the structure of
ApplicationModulesas JSON. - ApplicationModulesExporter(ApplicationModules) - Constructor for class org.springframework.modulith.core.util.ApplicationModulesExporter
-
Creates a new
ApplicationModulesExporterfor the givenApplicationModules. - ApplicationModulesFactory - Interface in org.springframework.modulith.core
-
Factory interface to create
ApplicationModulesinstances for application classes. - ApplicationModulesFileGeneratingProcessor - Class in org.springframework.modulith.runtime.autoconfigure
-
Renders the application module description JSON into a resource named "META-INF/spring-modulith/application-modules.json".
- ApplicationModulesFileGeneratingProcessor() - Constructor for class org.springframework.modulith.runtime.autoconfigure.ApplicationModulesFileGeneratingProcessor
- applicationModulesInitializer(ApplicationRuntime, ConfigurableBeanFactory) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ApplicationModuleSource - Class in org.springframework.modulith.core
-
The source of an
ApplicationModule. - ApplicationModuleSource.ApplicationModuleSourceMetadata - Interface in org.springframework.modulith.core
-
An intermediate abstraction to detect both the
ApplicationModuleIdentifierand potentially nested module declarations for theJavaPackages returned from the first pass of module detection. - ApplicationModuleSourceContributions - Class in org.springframework.modulith.core
-
Lookup of external
ApplicationModuleSourcecontributions viaApplicationModuleSourceFactoryimplementations. - ApplicationModuleSourceContributions(List<? extends ApplicationModuleSourceFactory>, ApplicationModuleDetectionStrategy, boolean) - Constructor for class org.springframework.modulith.core.ApplicationModuleSourceContributions
-
Creates a new
ApplicationModuleSourceContributionsfor the givenApplicationModuleSourceFactorys, defaultApplicationModuleDetectionStrategyand whether to use fully-qualified module names. - ApplicationModuleSourceFactory - Interface in org.springframework.modulith.core
-
SPI to allow build units contribute additional
ApplicationModuleSources in the form of either declaring them directly viaApplicationModuleSourceFactory.getModuleBasePackages()andApplicationModuleSourceFactory.getApplicationModuleSources(Function, boolean)or via providedApplicationModuleSourceFactory.getRootPackages()and subsequent resolution viaApplicationModuleSourceFactory.getApplicationModuleSources(JavaPackage, ApplicationModuleDetectionStrategy, boolean)for each of the packages provided. - ApplicationModulesRuntime - Class in org.springframework.modulith.runtime
-
Bootstrap type to make sure we only bootstrap the initialization of a
ApplicationModulesinstance once per application class. - ApplicationModulesRuntime(Supplier<ApplicationModules>, ApplicationRuntime) - Constructor for class org.springframework.modulith.runtime.ApplicationModulesRuntime
- ApplicationModuleTest - Annotation Interface in org.springframework.modulith.test
-
Bootstraps the module containing the package of the test class annotated with
ApplicationModuleTest. - ApplicationModuleTest.BootstrapMode - Enum Class in org.springframework.modulith.test
- applicationModuleVerifier(SpringModulithRuntimeAutoConfiguration.ApplicationModulesBootstrap, ObjectProvider<VerificationOptions>) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ApplicationRuntime - Interface in org.springframework.modulith.runtime
-
Abstraction of the application runtime environment.
- ArchitecturallyEvidentType - Class in org.springframework.modulith.core
-
A type that is architecturally relevant, i.e. it fulfills a significant role within the architecture.
- ArchitecturallyEvidentType(JavaClass) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType
- ArchitecturallyEvidentType.DelegatingType - Class in org.springframework.modulith.core
- ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType - Class in org.springframework.modulith.core
- ArchitecturallyEvidentType.ReferenceMethod - Class in org.springframework.modulith.core
- ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType - Class in org.springframework.modulith.core
- ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType - Class in org.springframework.modulith.core
- archive(Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublication
- ARCHIVE - Enum constant in enum class org.springframework.modulith.events.support.CompletionMode
-
Completes an
EventPublicationby moving the database entry to an archive. - ARCHIVE_COLLECTION - Static variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- ArchivedJpaEventPublication - Class in org.springframework.modulith.events.jpa.archiving
- ArchivedJpaEventPublication() - Constructor for class org.springframework.modulith.events.jpa.archiving.ArchivedJpaEventPublication
- ArchivedJpaEventPublication(UUID, Instant, String, String, Class<?>, EventPublication.Status, Instant, int) - Constructor for class org.springframework.modulith.events.jpa.archiving.ArchivedJpaEventPublication
- ArchivingAutoConfiguration - Class in org.springframework.modulith.events.jpa.archiving
-
Auto-configuration adding the current package as auto-configuration package for
ArchivedJpaEventPublicationto be included in the JPA setup. - ArchivingAutoConfiguration() - Constructor for class org.springframework.modulith.events.jpa.archiving.ArchivingAutoConfiguration
- ArchUnitRuntimeDependencyMissingConfiguration() - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.ArchUnitRuntimeDependencyMissingConfiguration
- are(DescribedPredicate<T>) - Static method in class org.springframework.modulith.core.SyntacticSugar
- Asciidoctor - Class in org.springframework.modulith.docs
- asFilter() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns a filter expression including all types within that package and any nested package.
- asFilter(boolean) - Method in class org.springframework.modulith.core.PackageName
-
Returns the filter expression to include all types including from nested packages.
- asJavaClasses() - Method in class org.springframework.modulith.core.NamedInterface
-
Returns a
Streamof allJavaClasses contained in this interface. - asRelativeTo(String) - Method in record class org.springframework.modulith.junit.diff.ModifiedFile
-
Returns the current
ModifiedFileas relative to the given reference path. - AssertablePublishedEvents - Interface in org.springframework.modulith.test
-
An AssertJ-based extension of
PublishedEventsto obtain fluent assertions. - assertThat() - Method in interface org.springframework.modulith.test.AssertablePublishedEvents
- AsyncEnablingConfiguration() - Constructor for class org.springframework.modulith.events.config.EventPublicationAutoConfiguration.AsyncEnablingConfiguration
- asyncPropertiesDefaulter(Environment) - Static method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- AsyncPropertiesDefaulter(Environment) - Constructor for class org.springframework.modulith.events.config.EventPublicationAutoConfiguration.AsyncPropertiesDefaulter
- AT_ASYNC - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_AUTOWIRED - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_BEAN - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_COMPONENT - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_CONFIGURATION - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_CONFIGURATION_PROPERTIES - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_CONTROLLER - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_DOMAIN_EVENT - Static variable in class org.springframework.modulith.core.Types.JMoleculesTypes
- AT_DOMAIN_EVENT_HANDLER - Static variable in class org.springframework.modulith.core.Types.JMoleculesTypes
- AT_ENTITY - Static variable in class org.springframework.modulith.core.Types.JavaXTypes
- AT_EVENT_LISTENER - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_INJECT - Static variable in class org.springframework.modulith.core.Types.JavaXTypes
- AT_JMS_LISTENER - Static variable in class org.springframework.modulith.core.Types.MessagingTypes
- AT_KAFKA_LISTENER - Static variable in class org.springframework.modulith.core.Types.MessagingTypes
- AT_RABBIT_LISTENER - Static variable in class org.springframework.modulith.core.Types.MessagingTypes
- AT_REPOSITORY - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_REPOSITORY_DEFINITION - Static variable in class org.springframework.modulith.core.Types.SpringDataTypes
- AT_REQUEST_MAPPING - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_RESOURCE - Static variable in class org.springframework.modulith.core.Types.JavaXTypes
- AT_SERVICE - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_SPRING_BOOT_APPLICATION - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_TX_EVENT_LISTENER - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- augment(ApplicationModuleIdentifiers) - Method in class org.springframework.modulith.runtime.flyway.SpringModulithFlywayMigrationStrategy.SpringModulithFlywayCustomizer
- AUTOCONFIG_PACKAGES - Static variable in class org.springframework.modulith.test.ModuleTestAutoConfiguration
- AutoConfigurationAndEntityScanPackageCustomizer() - Constructor for class org.springframework.modulith.test.ModuleTestAutoConfiguration.AutoConfigurationAndEntityScanPackageCustomizer
B
- BaseConfiguration() - Constructor for class org.springframework.modulith.events.EventExternalizationConfiguration.BaseConfiguration
- BrokerRouting - Class in org.springframework.modulith.events.support
-
A
BrokerRoutingsupportsRoutingTargetinstances that contain values matching the format$target::$keyfor which both the target and key can be a SpEL expression. - BrokerRouting.SpelBrokerRouting - Class in org.springframework.modulith.events.support
-
A
BrokerRoutingthat evaluates aRoutingTarget's key as SpEL expression. - build() - Method in class org.springframework.modulith.core.NamedInterfaces.Builder
-
Creates a
NamedInterfacesinstance according to the builder setup. - build() - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Creates a new
EventExternalizationConfigurationreflecting the current configuration. - builder() - Static method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
-
Returns a new
EventExternalizationConfiguration.Selectorinstance to build up a new configuration. - builder(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterfaces
-
Creates a new
NamedInterfaces.Builderto eventually createNamedInterfacesfor the given base package. - BuildSystemUtils - Class in org.springframework.modulith.docs.util
-
Utilities to detect the build system used.
- BuildSystemUtils() - Constructor for class org.springframework.modulith.docs.util.BuildSystemUtils
- byApplicationLocalName(Collection<String>) - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Creates a new routing that uses the application-local type name as target
- byExternalizedAnnotations() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Returns a
Functionthat looks up the target from the supported externalization annotations. - byFullyQualifiedTypeName() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Returns a
Functionthat looks up the target from the fully-qualified type name of the event's type. - byGrouping(Documenter.CanvasOptions.Grouping) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- byGroupName(String) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
C
- C4 - Enum constant in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle
-
A C4 model component diagram.
- candidates(byte[]) - Static method in class org.springframework.modulith.events.neo4j.EventHash
-
Returns all hashes for the given byte array.
- CanvasOptions(List<Documenter.CanvasOptions.Grouping>, String, String, boolean, boolean) - Constructor for class org.springframework.modulith.docs.Documenter.CanvasOptions
- changes() - Method in record class org.springframework.modulith.junit.TestExecutionCondition.ConditionContext
-
Returns the value of the
changesrecord component. - Changes - Class in org.springframework.modulith.junit
-
A set of
Changes.Changes made to a Java project. - Changes.Change - Interface in org.springframework.modulith.junit
-
A change to the local project.
- Changes.Change.JavaSourceChange - Record Class in org.springframework.modulith.junit
-
A change in a Java source file.
- Changes.Change.JavaTestSourceChange - Record Class in org.springframework.modulith.junit
-
A change in a Java test source file.
- Changes.Change.KotlinSourceChange - Record Class in org.springframework.modulith.junit
-
A change in a Kotlin source file.
- Changes.Change.KotlinTestSourceChange - Record Class in org.springframework.modulith.junit
-
A change in a Kotlin test source file.
- Changes.Change.LanguageConfig - Record Class in org.springframework.modulith.junit
- Changes.Change.OtherFileChange - Record Class in org.springframework.modulith.junit
-
Some arbitrary file change.
- Changes.Change.SourceChange - Interface in org.springframework.modulith.junit
-
A change to a source file.
- Changes.OnNoChange - Enum Class in org.springframework.modulith.junit
-
Whether to either execute or skip all test in case no changes where detected.
- ChangesFactory - Class in org.springframework.modulith.junit
-
Dedicated factory to create a
Changesinstance from anEnvironment. - ChangesFactory() - Constructor for class org.springframework.modulith.junit.ChangesFactory
- classes() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
-
Alias for
SpringBootTest.classes(). - classes() - Element in annotation interface org.springframework.modulith.test.ModuleSlicing
-
To define the main application class in case the test is located outside a module package and that class doesn't reside in any of the parent packages.
- Classes - Class in org.springframework.modulith.core
- closed(List<ApplicationModule.AllowedDependency>) - Static method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
- CLOSED - Enum constant in enum class org.springframework.modulith.ApplicationModule.Type
-
A closed application module exposes an API to other modules, but also allows to hide internals.
- CodeReplacingDocumentationSource - Class in org.springframework.modulith.docs
-
A
DocumentationSourcethat replaces {@code …} or {@link …} blocks into inline code references - CodeReplacingDocumentationSource(DocumentationSource, Asciidoctor) - Constructor for class org.springframework.modulith.docs.CodeReplacingDocumentationSource
-
Creates a new
CodeReplacingDocumentationSourcefor the given delegateDocumentationSourceandAsciidoctorinstance. - comment() - Method in record class org.springframework.modulith.docs.metadata.MethodMetadata
-
Returns the value of the
commentrecord component. - comment() - Method in record class org.springframework.modulith.docs.metadata.TypeMetadata
-
Returns the value of the
commentrecord component. - compareTo(ApplicationModule) - Method in class org.springframework.modulith.core.ApplicationModule
- compareTo(ApplicationModuleIdentifier) - Method in class org.springframework.modulith.core.ApplicationModuleIdentifier
- compareTo(JavaPackage) - Method in class org.springframework.modulith.core.JavaPackage
- compareTo(PackageName) - Method in class org.springframework.modulith.core.PackageName
- compareTo(EventPublication) - Method in interface org.springframework.modulith.events.EventPublication
- Completable - Interface in org.springframework.modulith.events.core
-
Internal interface to be able to mark
TargetEventPublicationinstances as completed. - COMPLETED - Enum constant in enum class org.springframework.modulith.events.EventPublication.Status
-
The processing of the publication has successfully completed.
- CompletedEventPublications - Interface in org.springframework.modulith.events
-
All
EventPublications that have already been completed. - completionAttempts - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- completionAttempts - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- completionAttempts - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- completionDate - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- completionDate - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- completionDate - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- CompletionMode - Enum Class in org.springframework.modulith.events.support
-
Different modes of event completion.
- completionRegisteringAdvisor(ObjectFactory<EventPublicationRegistry>) - Static method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- completionRegisteringAdvisor(ObjectFactory<EventPublicationRegistry>) - Static method in class org.springframework.modulith.events.config.EventPublicationConfiguration
- CompletionRegisteringAdvisor - Class in org.springframework.modulith.events.support
-
An
Advisorto decorateTransactionalEventListenerannotated methods to mark the previously registered event publications as completed on successful method execution. - CompletionRegisteringAdvisor(Supplier<EventPublicationRegistry>) - Constructor for class org.springframework.modulith.events.support.CompletionRegisteringAdvisor
-
Creates a new
CompletionRegisteringAdvisorfor the givenEventPublicationRegistry. - CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor - Class in org.springframework.modulith.events.support
-
MethodInterceptorto trigger the completion of an event publication after a transaction event listener method has been completed successfully. - CompletionRegisteringMethodInterceptor(Supplier<EventPublicationRegistry>) - Constructor for class org.springframework.modulith.events.support.CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor
-
Creates a new
CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptorfor the givenEventPublicationRegistry. - condition() - Element in annotation interface org.springframework.modulith.events.ApplicationModuleListener
-
Spring Expression Language (SpEL) attribute used for making the event handling conditional.
- ConditionalEventListener - Interface in org.springframework.modulith.events.core
-
An event listener that exposes whether it supports a particular event instance.
- ConditionContext(Class<?>, Changes) - Constructor for record class org.springframework.modulith.junit.TestExecutionCondition.ConditionContext
-
Creates an instance of a
ConditionContextrecord class. - CONFIG_PROPERTY_PREFIX - Static variable in interface org.springframework.modulith.junit.diff.FileModificationDetector
- ConfigurationProperties - Class in org.springframework.modulith.docs
-
Represents all
ConfigurationProperties.ConfigurationPropertyinstances found for the current project. - ConfigurationProperties() - Constructor for class org.springframework.modulith.docs.ConfigurationProperties
-
Creates a new
ConfigurationPropertiesinstance. - ConfigurationProperties.ConfigurationProperty - Record Class in org.springframework.modulith.docs
- ConfigurationProperties.ModuleProperty - Record Class in org.springframework.modulith.docs
- ConfigurationProperty(String, String, String, String, String) - Constructor for record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Creates an instance of a
ConfigurationPropertyrecord class. - configureTasks(ScheduledTaskRegistrar) - Method in class org.springframework.modulith.events.config.StalenessMonitorConfiguration
- contains(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
-
Returns whether the
ApplicationModule.AllowedDependencycontains the givenJavaClass. - contains(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the current module contains the given type.
- contains(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns whether the given
JavaClassis contained within theApplicationModules. - contains(JavaClass) - Method in class org.springframework.modulith.core.Classes
- contains(JavaClass) - Method in class org.springframework.modulith.core.JavaPackage
-
Return whether the
JavaPackagecontains the given type. - contains(JavaClass) - Method in class org.springframework.modulith.core.NamedInterface
-
Returns whether the
NamedInterfacecontains the givenJavaClass. - contains(JavaCodeUnit) - Method in class org.springframework.modulith.core.EntryPoints
-
Returns whether the given
JavaCodeUnitforms one of theseEntryPoints.EntryPoints. - contains(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
-
Returns whether the
ApplicationModule.AllowedDependencycontains the givenClass. - contains(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the current module contains the given type.
- contains(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns whether the given
Classis contained within theApplicationModules. - contains(Class<?>) - Method in class org.springframework.modulith.core.Classes
- contains(Class<?>) - Method in class org.springframework.modulith.core.JavaPackage
-
Return whether the
JavaPackagecontains the given type. - contains(Class<?>) - Method in class org.springframework.modulith.core.JavaPackages
-
Returns whether any of the packages contains the given type.
- contains(Class<?>) - Method in class org.springframework.modulith.core.NamedInterface
-
Returns whether the
NamedInterfacecontains the given type. - contains(Class<?>) - Method in class org.springframework.modulith.junit.Changes
- contains(Class<T>) - Method in class org.springframework.modulith.test.PublishedEventsAssert
-
Asserts that the
PublishedEventscontain at least one event of the given type. - contains(String) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the given module contains a type with the given simple or fully qualified name.
- contains(String) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns whether the dependencies contain the type with the given fully-qualified name.
- contains(String) - Method in class org.springframework.modulith.core.Classes
- contains(String) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the
JavaPackagecontains the type with the given name. - contains(String) - Method in class org.springframework.modulith.docs.Documenter.OutputFolder
- contains(LocalDate) - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns whether the given
LocalDateis contained in the currentShiftedQuarter. - contains(ApplicationModule) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns whether the dependencies contain the given
ApplicationModule. - contains(JavaPackage) - Method in class org.springframework.modulith.core.JavaPackages
- contains(PackageName) - Method in class org.springframework.modulith.core.PackageName
-
Returns whether the package name contains the given one, i.e. if the given one either is the current one or a sub-package of it.
- containsInExplicitInterface(JavaClass) - Method in class org.springframework.modulith.core.NamedInterfaces
-
Returns whether the given type is contained in one of the explicitly named
NamedInterfaces. - containsInExplicitInterface(Class<?>) - Method in class org.springframework.modulith.core.NamedInterfaces
- containsModuleNamed(String) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns whether the dependencies contain the
ApplicationModulewith the given name. - containsPackage(String) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the
ApplicationModulecontains the package with the given name, which means the given package is either the module's base package or a sub package of it. - containsTypeInAnyParent(JavaClass, ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the given type is contained in any of the parent modules of the current one.
- couldContain(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the module could contain the type independent of the actual types backing the current instance.
- couldContain(Class<?>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the packages could contain the type independent of the actual types backing the current instance.
- couldContain(Class<?>) - Method in class org.springframework.modulith.core.JavaPackages
-
Returns whether any of the the packages could contain the type independent of the actual types backing the current instance.
- couldContain(String) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the packages could contain the type independent of the actual types backing the current instance.
- couldContain(String) - Method in class org.springframework.modulith.core.JavaPackages
-
Returns whether any of the the packages could contain the type independent of the actual types backing the current instance.
- countByStatus(EventPublication.Status) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Returns the number of
EventPublications for the given status. - countByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- countByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- countByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- countByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- countByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- create(TargetEventPublication) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Persists the given
TargetEventPublication. - create(TargetEventPublication) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- create(TargetEventPublication) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- create(TargetEventPublication) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- create(TargetEventPublication) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- create(TargetEventPublication) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- createBuilder() - Method in class org.springframework.modulith.observability.support.ObservedModuleEvent
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory
- createCounterBuilder(ObservedModuleEvent) - Method in class org.springframework.modulith.observability.support.ModuleEventCounterFactory
-
Creates a
Counter.Builderinstance for the given event applying registered customizers. - createPublishedEvents() - Static method in class org.springframework.modulith.test.PublishedEventsFactory
- customize(Class<T>, BiConsumer<T, Counter.Builder>) - Method in interface org.springframework.modulith.observability.ModulithEventMetrics
-
Customizes a
Counter.Builderto eventually produce aCounterfor the event of the given type. - customize(Class<T>, BiConsumer<T, Counter.Builder>) - Method in class org.springframework.modulith.observability.support.ModuleEventCounterFactory
- customize(Class<T>, Function<T, Counter.Builder>) - Method in interface org.springframework.modulith.observability.ModulithEventMetrics
-
Customizes the creation of a
Counter.Builderfor events of the given type. - customize(Class<T>, Function<T, Counter.Builder>) - Method in class org.springframework.modulith.observability.support.ModuleEventCounterFactory
- customize(Function<ConditionFactory, ConditionFactory>) - Method in class org.springframework.modulith.test.Scenario.When
-
Customize the execution of the scenario.
- customize(ModulithEventMetrics) - Method in interface org.springframework.modulith.observability.ModulithEventMetricsCustomizer
-
Customize the given
ModulithEventMetrics. - customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory.ModuleContextCustomizer
- cypherDslConfiguration() - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationAutoConfiguration
D
- DatabaseSchemaHints - Class in org.springframework.modulith.events.jdbc
-
AOT resource hints for the database schemas.
- DatabaseSchemaHints() - Constructor for class org.springframework.modulith.events.jdbc.DatabaseSchemaHints
- databaseSchemaInitializer(DataSource, ResourceLoader, DatabaseType, JdbcRepositorySettings) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration.JdbcEventPublicationSchemaCreationAutoConfiguration
- DatabaseSchemaInitializer - Class in org.springframework.modulith.events.jdbc
-
Initializes the DB schema used to store events
- DatabaseSchemaInitializer(DataSource, ResourceLoader, JdbcRepositorySettings) - Constructor for class org.springframework.modulith.events.jdbc.DatabaseSchemaInitializer
- DatabaseSchemaLocator - Class in org.springframework.modulith.events.jdbc
-
Simple wrapper around a
ResourceLoaderto load database specific schema files from the classpath. - DatabaseSchemaLocator(ResourceLoader) - Constructor for class org.springframework.modulith.events.jdbc.DatabaseSchemaLocator
-
Creates a new
DatabaseSchemaLocatorfor the givenResourceLoader. - databaseToUUID(Object) - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- databaseType(DataSource) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- DatabaseType - Enum Class in org.springframework.modulith.events.jdbc
- DayHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEventpublished on each day. - DayHasPassedMixin() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.DayHasPassedMixin
- DAYS - Enum constant in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
-
Publish daily events only.
- DEFAULT - Enum constant in enum class org.springframework.modulith.core.DependencyType
- DEFAULT - Static variable in class org.springframework.modulith.core.PackageName
- DEFAULT_CONVENTION_NAME - Static variable in class org.springframework.modulith.observability.ModulithContext
- DEFAULT_LOCATION - Static variable in class org.springframework.modulith.core.util.ApplicationModulesExporter
- DefaultApplicationModuleInitializerInvoker - Class in org.springframework.modulith.runtime.autoconfigure
- DefaultApplicationModuleInitializerInvoker(ApplicationModules) - Constructor for class org.springframework.modulith.runtime.autoconfigure.DefaultApplicationModuleInitializerInvoker
- DefaultAssertablePublishedEvents - Class in org.springframework.modulith.test
-
Default implementation of
AssertablePublishedEvents. - DefaultAssertablePublishedEvents() - Constructor for class org.springframework.modulith.test.DefaultAssertablePublishedEvents
-
Creates a new
DefaultAssertablePublishedEvents. - DefaultAssertablePublishedEvents(DefaultPublishedEvents) - Constructor for class org.springframework.modulith.test.DefaultAssertablePublishedEvents
-
Creates a new
DefaultAssertablePublishedEventswith the givenDefaultPublishedEventsdelegate. - DefaultEventExternalizationConfiguration - Class in org.springframework.modulith.events
-
Default implementation of
EventExternalizationConfiguration. - DefaultEventExternalizationConfiguration(Predicate<Object>, Function<Object, Object>, Function<Object, RoutingTarget>, Function<Object, Map<String, Object>>, boolean) - Constructor for class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
-
Creates a new
DefaultEventExternalizationConfiguration - DefaultEventPublication - Class in org.springframework.modulith.events.core
-
Default
TargetEventPublicationimplementation. - DefaultEventPublication(Object, PublicationTargetIdentifier, Instant) - Constructor for class org.springframework.modulith.events.core.DefaultEventPublication
-
Creates a new
DefaultEventPublicationfor the given event andPublicationTargetIdentifier. - DefaultEventPublicationRegistry - Class in org.springframework.modulith.events.core
-
A registry to capture event publications to
ApplicationListeners. - DefaultEventPublicationRegistry(EventPublicationRepository, Clock) - Constructor for class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
-
Creates a new
DefaultEventPublicationRegistryfor the givenEventPublicationRepository. - DefaultEventPublicationRegistry.PublicationsInProgress - Class in org.springframework.modulith.events.core
-
All
TargetEventPublications currently processed. - defaultFactory() - Static method in interface org.springframework.modulith.core.ApplicationModulesFactory
-
Creates the default
ApplicationModulesFactorydelegating toApplicationModules.of(Class) - DefaultJpaEventPublication - Class in org.springframework.modulith.events.jpa.updating
- DefaultJpaEventPublication() - Constructor for class org.springframework.modulith.events.jpa.updating.DefaultJpaEventPublication
- DefaultJpaEventPublication(UUID, Instant, String, String, Class<?>, EventPublication.Status, Instant, int) - Constructor for class org.springframework.modulith.events.jpa.updating.DefaultJpaEventPublication
- DefaultModulithObservationConvention - Enum Class in org.springframework.modulith.observability.support
-
Default implementation of
ModulithObservationConvention. - DefaultObservedModule - Class in org.springframework.modulith.observability.support
-
Default implementation for
ObservedModule. - DefaultObservedModule(ApplicationModule) - Constructor for class org.springframework.modulith.observability.support.DefaultObservedModule
-
Creates a new
DefaultObservedModulefor the givenApplicationModule. - defaultOr(Supplier<DependencyType>) - Method in enum class org.springframework.modulith.core.DependencyType
-
Returns the current
DependencyTypeor obtains the one provided by the given supplier if the current one isDependencyType.DEFAULT. - DefaultPublishedEvents - Class in org.springframework.modulith.test
-
Default implementation of
PublishedEvents. - DefaultPublishedEvents() - Constructor for class org.springframework.modulith.test.DefaultPublishedEvents
-
Creates a new, empty
DefaultPublishedEventsinstance. - DefaultPublishedEvents(Collection<? extends Object>) - Constructor for class org.springframework.modulith.test.DefaultPublishedEvents
-
Creates a new
DefaultPublishedEventsinstance with the given events. - defaults() - Static method in class org.springframework.modulith.core.VerificationOptions
-
Creates a new
VerificationOptionsincluding jMolecules verifications if present on the classpath. - defaults() - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Creates a default
Documenter.CanvasOptionsinstance configuring componentDocumenter.CanvasOptions.Groupingsfor jMolecules (if on the classpath) and Spring Framework. - defaults() - Static method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Creates a new default
Documenter.DiagramOptionsinstance configured to use all dependency types, list immediate dependencies for individual module instances, not applying any kind ofApplicationModuleorComponentfilters and default file names. - defaults() - Static method in class org.springframework.modulith.docs.Documenter.Options
-
Creates a default
Documenter.Optionsinstance configuring a default output folder based on the detected build tool (seeDocumenter.OutputFolder.DEFAULT_LOCATION). - defaults() - Static method in class org.springframework.modulith.events.ResubmissionOptions
-
Creates a new
ResubmissionOptionswith no bound for in-flight publications, a batch size of 100, no minimum age and including allEventPublicationinstances. - defaults(String...) - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Creates a default
DefaultEventExternalizationConfigurationwith the following characteristics: Only events that reside in any of the given packages and that are annotated with any supportedExternalizedannotation will be considered. Routing information is discovered from the {code Externalized} annotation and, if missing, will default to the application-local name of the event type. - defaults(Collection<String>) - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Creates a default
DefaultEventExternalizationConfigurationwith the following characteristics: Only events that reside in any of the given packages and that are annotated with any supportedExternalizedannotation will be considered. Routing information is discovered from the {code Externalized} annotation and, if missing, will default to the application-local name of the event type. - DEFAULTS - Static variable in class org.springframework.modulith.events.config.StalenessProperties
- DEFAULTS - Static variable in class org.springframework.modulith.moments.support.MomentsProperties
- defaultValue() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
defaultValuerecord component. - defaultValue() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
defaultValuerecord component. - DelegatingEventExternalizer - Class in org.springframework.modulith.events.support
-
Deprecated, for removal: This API element is subject to removal in a future version.
- DelegatingEventExternalizer(EventExternalizationConfiguration, BiFunction<RoutingTarget, Object, CompletableFuture<?>>) - Constructor for class org.springframework.modulith.events.support.DelegatingEventExternalizer
-
Deprecated.Creates a new
DelegatingEventExternalizerfor the givenEventExternalizationConfigurationandBiFunctionimplementing the actual externalization. - DelegatingType(JavaClass, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Collection<ArchitecturallyEvidentType.ReferenceMethod>>) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- DELETE - Enum constant in enum class org.springframework.modulith.events.support.CompletionMode
-
Completes an
EventPublicationby removing the database entry. - deleteCompletedPublications() - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Deletes all publications that were already marked as completed.
- deleteCompletedPublications() - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- deleteCompletedPublications() - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- deleteCompletedPublications() - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- deleteCompletedPublications() - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- deleteCompletedPublications() - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- deleteCompletedPublicationsBefore(Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Deletes all publication that were already marked as completed with a completion date before the given one.
- deleteCompletedPublicationsBefore(Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- deleteCompletedPublicationsBefore(Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- deleteCompletedPublicationsBefore(Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- deleteCompletedPublicationsBefore(Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- deleteCompletedPublicationsBefore(Instant) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- deleteCompletedPublicationsOlderThan(Duration) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- deleteCompletedPublicationsOlderThan(Duration) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Deletes all completed
TargetEventPublications that have been completed before the givenDuration. - deleteIfExists() - Method in class org.springframework.modulith.docs.Documenter.OutputFolder
- deletePublications(Predicate<EventPublication>) - Method in interface org.springframework.modulith.events.CompletedEventPublications
-
Deletes all
EventPublications matching the givenPredicate. - deletePublications(Predicate<EventPublication>) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- deletePublications(List<UUID>) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Deletes all publications with the given identifiers.
- deletePublications(List<UUID>) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- deletePublications(List<UUID>) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- deletePublications(List<UUID>) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- deletePublications(List<UUID>) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- deletePublications(List<UUID>) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- deletePublicationsOlderThan(Duration) - Method in interface org.springframework.modulith.events.CompletedEventPublications
-
Deletes all
EventPublications whose completion date is older than the givenDuration. - deletePublicationsOlderThan(Duration) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- DependencyDepth - Enum Class in org.springframework.modulith.core
- DependencyType - Enum Class in org.springframework.modulith.core
-
The type of dependency between
ApplicationModules. - description() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
descriptionrecord component. - description() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
descriptionrecord component. - deserialize(Object, Class<T>) - Method in interface org.springframework.modulith.events.core.EventSerializer
-
Deserializes the event from the serialization format into an instance of the given type.
- deserialize(Object, Class<T>) - Method in class org.springframework.modulith.events.jackson.JacksonEventSerializer
- deserialize(Object, Class<T>) - Method in class org.springframework.modulith.events.jackson2.Jackson2EventSerializer
-
Deprecated.
- destroy() - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- detectDependencies(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
- detectNamedInterfaces(JavaPackage, ApplicationModuleInformation) - Method in interface org.springframework.modulith.core.ApplicationModuleDetectionStrategy
-
Optionally customize the detection of
NamedInterfacesfor a module with the given base package and the pre-obtainedApplicationModuleInformation. - detectViolations() - Method in class org.springframework.modulith.core.ApplicationModules
-
Executes all verifications to be applied and returns
Violationsif any occurred. - detectViolations(VerificationOptions) - Method in class org.springframework.modulith.core.ApplicationModules
-
Executes all verifications to be applied considering the given
VerificationOptionsand returnsViolationsif any occurred. - determineTarget(Object) - Method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
- determineTarget(Object) - Method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Determines the
RoutingTargetfor the given event based on the current configuration. - DiagramOptions(Set<DependencyType>, DependencyDepth, Predicate<ApplicationModule>, Predicate<Component>, Predicate<ApplicationModule>, String, Function<ApplicationModule, Optional<String>>, Function<ApplicationModule, String>, Documenter.DiagramOptions.DiagramStyle, Documenter.DiagramOptions.ElementsWithoutRelationships, Map<String, String>) - Constructor for class org.springframework.modulith.docs.Documenter.DiagramOptions
- DIRECT_DEPENDENCIES - Enum constant in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Bootstraps the current module as well as its direct dependencies.
- directSubPackage() - Static method in interface org.springframework.modulith.core.ApplicationModuleDetectionStrategy
-
A
ApplicationModuleDetectionStrategythat considers all direct sub-packages of the Moduliths base package to be module base packages. - disabled() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Disables event externalization by not matching any events at all.
- discover(List<X>) - Method in class org.springframework.modulith.core.EntryPoints
-
Filters the given
TypeAwarecandidates down to the ones actually (transitively) reachable from one of theseEntryPoints.EntryPoints, returning theEntryPoints.EntryPoints found, each paired with the candidate(s) it potentially triggers the creation of. - discoverNamedInterfaces(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterfaces
-
Discovers all
NamedInterfacesdeclared for the givenJavaPackage. - displayName() - Element in annotation interface org.springframework.modulith.ApplicationModule
-
The human readable name of the module to be used for display and documentation purposes.
- DocumentationSource - Interface in org.springframework.modulith.docs
-
Interface to abstract different ways of looking up documentation for code abstractions.
- Documenter - Class in org.springframework.modulith.docs
-
API to create documentation for
ApplicationModules. - Documenter(Class<?>) - Constructor for class org.springframework.modulith.docs.Documenter
-
Creates a new
Documenterfor theApplicationModulescreated for the given modulith type in the default output folder (spring-modulith-docs). - Documenter(ApplicationModules) - Constructor for class org.springframework.modulith.docs.Documenter
-
Creates a new
Documenterfor the givenApplicationModulesinstance in the default output folder (spring-modulith-docs). - Documenter(ApplicationModules, Documenter.Options) - Constructor for class org.springframework.modulith.docs.Documenter
-
Creates a new
Documenterfor the givenApplicationModulesand output folder. - Documenter.CanvasOptions - Class in org.springframework.modulith.docs
- Documenter.CanvasOptions.Grouping - Class in org.springframework.modulith.docs
- Documenter.CanvasOptions.Groupings - Class in org.springframework.modulith.docs
- Documenter.DiagramOptions - Class in org.springframework.modulith.docs
-
Options to tweak the rendering of diagrams.
- Documenter.DiagramOptions.DiagramStyle - Enum Class in org.springframework.modulith.docs
-
Different diagram styles.
- Documenter.DiagramOptions.ElementsWithoutRelationships - Enum Class in org.springframework.modulith.docs
-
Configuration setting to define whether modules that do not have a relationship to any other module shall be retained in the diagrams created.
- Documenter.Options - Class in org.springframework.modulith.docs
- Documenter.OutputFolder - Class in org.springframework.modulith.docs
- DOMAIN_EVENT - Static variable in class org.springframework.modulith.core.Types.JMoleculesTypes
- doNotHave(DescribedPredicate<T>) - Static method in class org.springframework.modulith.core.SyntacticSugar
- doWithListener(String, Consumer<TransactionalApplicationListener<ApplicationEvent>>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Invokes the given
Consumerfor the listener with the given identifier.
E
- EnablePersistentDomainEvents - Annotation Interface in org.springframework.modulith.events.config
- EnablePersistentDomainEvents.PersistentDomainEventsImportSelector - Class in org.springframework.modulith.events.config
-
ImportSelectorto dynamically pick up configuration types from the classpath. - EnableScenarios - Annotation Interface in org.springframework.modulith.test
-
Allows using
Scenarioas method parameter in integration tests. - ENTITY - Enum constant in enum class org.springframework.modulith.core.DependencyType
-
Indicates that the module refers to an entity of the other.
- ENTITY_SCAN_PACKAGE - Static variable in class org.springframework.modulith.test.ModuleTestAutoConfiguration
- EntryPoints - Class in org.springframework.modulith.core
-
All
EntryPoints.EntryPoints of anApplicationModule, i.e. methods or constructors that can trigger module behavior from the outside. - EntryPoints.EntryPoint - Class in org.springframework.modulith.core
-
A method or constructor that forms an entry point into the
ApplicationModulethat thisEntryPointsinstance was created for, i.e. code that can trigger module behavior from the outside, either because it's part of the module's exposed, public API, or because some framework infrastructure invokes it directly. - environment - Variable in class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModuleSource
- equals(Object) - Method in class org.springframework.modulith.core.PackageName
- equals(Object) - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- equals(Object) - Method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
- equals(Object) - Method in class org.springframework.modulith.events.RoutingTarget
- equals(Object) - Method in class org.springframework.modulith.test.ModuleTypeExcludeFilter
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModule
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModuleIdentifier
- equals(Object) - Method in class org.springframework.modulith.core.Classes
- equals(Object) - Method in class org.springframework.modulith.core.EntryPoints.EntryPoint
- equals(Object) - Method in class org.springframework.modulith.core.EventType
- equals(Object) - Method in class org.springframework.modulith.core.JavaPackage
- equals(Object) - Method in class org.springframework.modulith.core.SpringBean
- equals(Object) - Method in class org.springframework.modulith.core.Violation
- equals(Object) - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.docs.metadata.MethodMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.docs.metadata.TypeMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.modulith.events.EventExternalized
- equals(Object) - Method in class org.springframework.modulith.events.jpa.JpaEventPublication
- equals(Object) - Method in record class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository.IdOnly
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- equals(Object) - Method in record class org.springframework.modulith.junit.Changes.Change.JavaSourceChange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.junit.Changes.Change.JavaTestSourceChange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.junit.Changes.Change.KotlinSourceChange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.junit.Changes.Change.KotlinTestSourceChange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.junit.Changes.Change.OtherFileChange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.junit.diff.ModifiedFile
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.junit.TestExecutionCondition.ConditionContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.modulith.moments.DayHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.HourHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.MonthHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.QuarterHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.ShiftedQuarter
- equals(Object) - Method in class org.springframework.modulith.moments.WeekHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.YearHasPassed
- equals(Object) - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory.ModuleContextCustomizer
- equals(Object) - Method in class org.springframework.modulith.test.ModuleTestExecution
- evaluate(TestExecutionCondition.ConditionContext) - Method in class org.springframework.modulith.junit.TestExecutionCondition
- evaluateExecutionCondition(ExtensionContext) - Method in class org.springframework.modulith.junit.ModulithExecutionCondition
- event - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- event - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- EVENT_LISTENER - Enum constant in enum class org.springframework.modulith.core.DependencyType
-
Indicates that the module depends on the other by declaring an event listener for an event exposed by the other module.
- EVENT_TYPE - Enum constant in enum class org.springframework.modulith.observability.ModulithMetrics.LowKeys
-
Type of the emitted event.
- EventExternalizationAutoConfiguration - Class in org.springframework.modulith.events.config
-
Auto-configuration to externalize application events.
- EventExternalizationAutoConfiguration() - Constructor for class org.springframework.modulith.events.config.EventExternalizationAutoConfiguration
- eventExternalizationConfiguration(BeanFactory, Environment) - Static method in class org.springframework.modulith.events.config.EventExternalizationAutoConfiguration
- EventExternalizationConfiguration - Interface in org.springframework.modulith.events
-
Configuration for externalizing application events to messaging infrastructure.
- EventExternalizationConfiguration.BaseConfiguration<T extends EventExternalizationConfiguration.BaseConfiguration<T>> - Class in org.springframework.modulith.events
- EventExternalizationConfiguration.Router - Class in org.springframework.modulith.events
-
API to define the event routing.
- EventExternalizationConfiguration.Selector - Class in org.springframework.modulith.events
-
API to define which events are supposed to be selected for externalization.
- EventExternalizationSupport - Class in org.springframework.modulith.events.support
-
Deprecated, for removal: This API element is subject to removal in a future version.
- EventExternalizationSupport(EventExternalizationConfiguration) - Constructor for class org.springframework.modulith.events.support.EventExternalizationSupport
-
Deprecated.Creates a new
EventExternalizationSupportfor the givenEventExternalizationConfiguration. - EventExternalizationTransport - Interface in org.springframework.modulith.events.support
-
SPI to capture the strategy to externalize the given event payload using a particular implementation technology, usually a message broker.
- EventExternalized<S,
T> - Class in org.springframework.modulith.events -
An infrastructure event signaling that an application event has been externalized with a particular, broker-specific result.
- EventExternalized(S, Object, RoutingTarget, T) - Constructor for class org.springframework.modulith.events.EventExternalized
-
Creates a new
EventExternalizedevent for the given source event, its mapped derivative,RoutingTargetand broker result. - EventExternalizerModuleListener - Class in org.springframework.modulith.events.support
-
An
ApplicationModuleListenerthat's only applied if the event to be externalized is supposed to be externalized in the first place. - EventExternalizerModuleListener(EventExternalizationConfiguration, EventExternalizationTransport) - Constructor for class org.springframework.modulith.events.support.EventExternalizerModuleListener
-
Creates a new
EventExternalizerModuleListenerfor the givenEventExternalizationConfigurationandEventExternalizationTransport. - EventExternalizerSupport - Class in org.springframework.modulith.events.support
-
Fundamental support for event externalization.
- EventExternalizerSupport(EventExternalizationConfiguration) - Constructor for class org.springframework.modulith.events.support.EventExternalizerSupport
-
Creates a new
EventExternalizationSupportfor the givenEventExternalizationConfiguration. - eventHash - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- EventHash - Class in org.springframework.modulith.events.neo4j
-
Computes SHA-256 and MD5 hashes.
- eventOfTypeWasPublished(Class<?>) - Method in interface org.springframework.modulith.test.TypedEvents
-
Returns whether an event of the given type was published.
- EventPublication - Interface in org.springframework.modulith.events
-
An event publication.
- EventPublication.Status - Enum Class in org.springframework.modulith.events
-
The status of an
EventPublication. - EventPublicationAutoConfiguration - Class in org.springframework.modulith.events.config
-
Fundamental configuration for the
EventPublicationRegistrysupport. - EventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- EventPublicationAutoConfiguration.AsyncEnablingConfiguration - Class in org.springframework.modulith.events.config
- EventPublicationAutoConfiguration.AsyncPropertiesDefaulter - Class in org.springframework.modulith.events.config
- EventPublicationConfiguration - Class in org.springframework.modulith.events.config
-
Fundamental configuration for the
EventPublicationRegistrysupport. - EventPublicationConfiguration() - Constructor for class org.springframework.modulith.events.config.EventPublicationConfiguration
- EventPublicationConfigurationExtension - Interface in org.springframework.modulith.events.config
- eventPublicationRegistry(EventPublicationRepository, ObjectProvider<Clock>) - Method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- eventPublicationRegistry(EventPublicationRepository, ObjectProvider<Clock>) - Method in class org.springframework.modulith.events.config.EventPublicationConfiguration
- EventPublicationRegistry - Interface in org.springframework.modulith.events.core
-
A registry to capture event publications to
ApplicationListeners. - EventPublicationRepository - Interface in org.springframework.modulith.events.core
-
Repository to store
TargetEventPublications. - EventPublicationRepository.FailedCriteria - Class in org.springframework.modulith.events.core
- EventResult(Class<E>, Function<PublishedEvents.TypedPublishedEvents<E>, PublishedEvents.TypedPublishedEvents<E>>, Scenario.When.ExecutionResult<?, T>) - Constructor for class org.springframework.modulith.test.Scenario.When.EventResult
-
Creates a new
Scenario.When.EventResultfor the given type and filter. - EventSerializationConfigurationExtension - Interface in org.springframework.modulith.events.config
- EventSerializer - Interface in org.springframework.modulith.events.core
- eventsOf(Object) - Static method in class org.springframework.modulith.test.AggregateTestUtils
-
Extracts all domain events from the given aggregate that uses Spring Data's
DomainEventsannotation to expose them. - eventType - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- EventType - Class in org.springframework.modulith.core
-
A type that represents an event in a system.
- EventType(JavaClass) - Constructor for class org.springframework.modulith.core.EventType
-
Creates a new
EventTypefor the givenJavaClass. - EventUtils - Class in org.springframework.modulith.events.config
-
General utilities.
- EventUtils() - Constructor for class org.springframework.modulith.events.config.EventUtils
- everyHour() - Method in class org.springframework.modulith.moments.support.Moments
-
Triggers event publication every hour.
- everyMidnight() - Method in class org.springframework.modulith.moments.support.Moments
-
Triggers event publication every midnight.
- excluding(String...) - Method in class org.springframework.modulith.core.NamedInterfaces.Builder
-
Excludes the packages with the given name expressions from being considered as named interface.
- excluding(Collection<String>) - Method in class org.springframework.modulith.core.NamedInterfaces.Builder
-
Excludes the packages with the given name expressions from being considered as named interface.
- excluding(Predicate<JavaPackage>) - Method in class org.springframework.modulith.core.NamedInterfaces.Builder
-
Excludes the packages matching the given
Predicatefrom being considered as named interface. - EXECUTE_ALL - Enum constant in enum class org.springframework.modulith.junit.Changes.OnNoChange
- expandUntil(PackageName) - Method in class org.springframework.modulith.core.PackageName
-
Returns the names of sub-packages of the current one until the given reference
PackageName. - explicitlyAnnotated() - Static method in interface org.springframework.modulith.core.ApplicationModuleDetectionStrategy
-
A
ApplicationModuleDetectionStrategythat considers packages explicitly annotated withApplicationModulemodule base packages. - exposes(JavaClass) - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns whether the
ObservedModuleexposes the givenJavaClass. - exposes(JavaClass) - Method in class org.springframework.modulith.observability.support.DefaultObservedModule
- ExternalizationMode - Enum Class in org.springframework.modulith.events
-
Different modes of event externalization.
- externalize(Object) - Method in interface org.springframework.modulith.events.jobrunr.JobRunrExternalizationTransport
- externalize(Object) - Method in class org.springframework.modulith.events.support.DelegatingEventExternalizer
-
Deprecated.
- externalize(Object) - Method in class org.springframework.modulith.events.support.EventExternalizationSupport
-
Deprecated.Externalizes the given event.
- externalize(Object) - Method in class org.springframework.modulith.events.support.EventExternalizerModuleListener
- externalize(Object) - Method in class org.springframework.modulith.events.support.EventExternalizerSupport
-
Externalizes the given event.
- externalize(Object) - Method in class org.springframework.modulith.events.support.OutboxEventExternalizer
- externalize(Object, RoutingTarget) - Method in class org.springframework.modulith.events.support.DelegatingEventExternalizer
-
Deprecated.
- externalize(Object, RoutingTarget) - Method in class org.springframework.modulith.events.support.EventExternalizationSupport
-
Deprecated.Publish the given payload to the given
RoutingTarget. - externalize(Object, RoutingTarget) - Method in interface org.springframework.modulith.events.support.EventExternalizationTransport
-
Execute the actual externalization using a particular messaging infrastructure.
- externalize(Object, RoutingTarget) - Method in class org.springframework.modulith.events.support.EventExternalizerSupport
-
Publish the given payload to the given
RoutingTarget. - externalize(Object, RoutingTarget) - Method in class org.springframework.modulith.events.support.TransportAwareEventExternalizer
- externalizeBlocking(Object) - Method in class org.springframework.modulith.events.support.OutboxEventExternalizer
-
Externalizes the given event in a blocking way.
- Externalized - Annotation Interface in org.springframework.modulith.events
-
Marks domain events as to be externalized.
- externalizing() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Creates a new
EventExternalizationConfiguration.Selectorto define which events to externalize. - extraIncludes() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
-
Module names of modules to be included in the test run independent of what the
ApplicationModuleTest.mode()defines. - extraIncludes() - Element in annotation interface org.springframework.modulith.test.ModuleSlicing
-
Module names of modules to be included in the test run independent of what the
ModuleSlicing.mode()defines.
F
- Factory() - Constructor for class org.springframework.modulith.test.TestApplicationModules.Factory
- FAILED - Enum constant in enum class org.springframework.modulith.events.EventPublication.Status
-
The processing ended up in a failure.
- FailedEventPublications - Interface in org.springframework.modulith.events
-
All uncompleted event publications.
- FailedModuleVerificationFailureAnalyzer - Class in org.springframework.modulith.runtime.autoconfigure
-
A
FailureAnalyzerto give explanation what's wrong when a runtime application module verification fails. - FailedModuleVerificationFailureAnalyzer() - Constructor for class org.springframework.modulith.runtime.autoconfigure.FailedModuleVerificationFailureAnalyzer
- FALLBACK_GROUP - Static variable in class org.springframework.modulith.docs.Documenter.CanvasOptions
- FileModificationDetector - Interface in org.springframework.modulith.junit.diff
-
SPI to plug different strategies of how to find the files currently modified in a project.
- filter(JavaClass) - Method in class org.springframework.modulith.core.EntryPoints
-
Returns a new
EntryPointscontaining only the ones declared on the given type. - filter(Class<?>) - Method in class org.springframework.modulith.core.EntryPoints
-
Returns a new
EntryPointscontaining only the ones declared on the given type. - filter(Predicate<? super TransactionalApplicationListener<ApplicationEvent>>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
- filter(Predicate<Violation>) - Method in exception org.springframework.modulith.core.Violations
-
Returns
Violationsthat match the givenPredicate. - filteringEventListenerFactory(EventExternalizationConfiguration) - Static method in class org.springframework.modulith.events.config.EventExternalizationAutoConfiguration
- Filters() - Constructor for class org.springframework.modulith.core.ApplicationModules.Filters
- findAll() - Method in interface org.springframework.modulith.events.CompletedEventPublications
-
Returns all
EventPublications that have already been completed. - findAll() - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- findAnnotation(Class<A>) - Method in class org.springframework.modulith.core.JavaPackage
-
Finds the annotation of the given type declared on the package itself or any type located the direct package's types.
- findByStatus(EventPublication.Status) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Returns all
TargetEventPublications with the givenEventPublication.Status. - findByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- findByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- findByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findByStatus(EventPublication.Status) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- findCompletedPublications() - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Returns all completed event publications currently found in the system.
- findCompletedPublications() - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- findCompletedPublications() - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- findCompletedPublications() - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findCompletedPublications() - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- findCompletedPublications() - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- findFailedPublications(EventPublicationRepository.FailedCriteria) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
- findFailedPublications(EventPublicationRepository.FailedCriteria) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- findFailedPublications(EventPublicationRepository.FailedCriteria) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findFailedPublications(EventPublicationRepository.FailedCriteria) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- findFailedPublications(EventPublicationRepository.FailedCriteria) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- findIncompletePublications() - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- findIncompletePublications() - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Returns all
TargetEventPublications that have not been completed yet. - findIncompletePublications() - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Returns all
TargetEventPublications that have not been completed yet. - findIncompletePublications() - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- findIncompletePublications() - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- findIncompletePublications() - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findIncompletePublications() - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- findIncompletePublications() - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Return the incomplete
TargetEventPublicationfor the given serialized event and listener identifier. - findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- findIncompletePublicationsOlderThan(Duration) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- findIncompletePublicationsOlderThan(Duration) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Returns all
TargetEventPublications that have not been completed yet and have been published before the given duration in relation to "now". - findIncompletePublicationsPublishedBefore(Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Returns all
TargetEventPublications that have not been completed and were published before the givenInstant. - findIncompletePublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- findIncompletePublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- findIncompletePublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findIncompletePublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- findIncompletePublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- flatten() - Method in class org.springframework.modulith.core.JavaPackages
-
Returns a
JavaPackagesinstance that only contains the primary packages contained in the currentJavaPackages. - forAnnotation(Class<T>, Function<T, String>) - Static method in interface org.springframework.modulith.core.ApplicationModuleSource.ApplicationModuleSourceMetadata
-
Creates a new
ApplicationModuleSourceFactorydetecting theApplicationModuleIdentifierbased on a particular annotation's attribute. - forCodeUnit(JavaCodeUnit) - Static method in enum class org.springframework.modulith.core.DependencyType
- forDefaultLocation() - Static method in class org.springframework.modulith.docs.Documenter.OutputFolder
- forDependency(Dependency) - Static method in enum class org.springframework.modulith.core.DependencyType
- forEach(BiConsumer<Documenter.CanvasOptions.Grouping, List<SpringBean>>) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- forEach(Consumer<TransactionalApplicationListener<?>>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Invokes the given
Consumerfor all transactional event listeners. - forEventOfType(Class<E>) - Method in class org.springframework.modulith.test.Scenario.When
-
Alternative to
Scenario.When.andWaitForEventOfType(Class)for better readability if execution customizations have been applied before. - forLocation(String) - Static method in class org.springframework.modulith.docs.Documenter.OutputFolder
- format() - Method in class org.springframework.modulith.core.Classes
- format(JavaClass, String) - Static method in class org.springframework.modulith.core.Classes
- format(JavaClass, String, boolean) - Static method in class org.springframework.modulith.core.Classes
-
Formats the given
JavaClassinto aString, potentially abbreviating the given base package. - format(Iterable<JavaClass>) - Static method in class org.springframework.modulith.core.FormattableType
-
Formats the given
JavaClasses by rendering a comma-separated list with the abbreviated class names. - format(String) - Method in class org.springframework.modulith.core.Classes
- format(MethodInvocation) - Method in interface org.springframework.modulith.observability.ObservedModule
-
Produces a formatted
Stringfor the givenMethodInvocation. - format(MethodInvocation) - Method in class org.springframework.modulith.observability.support.DefaultObservedModule
- format(FormattableType, FormattableType) - Method in enum class org.springframework.modulith.core.DependencyType
- FormattableType - Class in org.springframework.modulith.core
-
Wrapper around
JavaClassthat allows creating additional formatted names. - FormattableType.NonModuleTypeAbbreviation - Enum Class in org.springframework.modulith.core
-
How to handle types that are not contained in an
ApplicationModule. - forOpen(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterfaces
-
Creates a new
NamedInterfaceconsisting of the unnamed one containing all classes in the givenJavaPackage. - forParameter(JavaClass) - Static method in enum class org.springframework.modulith.core.DependencyType
- forStateChange(Supplier<S>) - Method in class org.springframework.modulith.test.Scenario.When
-
Alternative to
Scenario.When.andWaitForStateChange(Supplier)for better readability if execution customizations have been applied before. - forStateChange(Supplier<S>, Predicate<? super S>) - Method in class org.springframework.modulith.test.Scenario.When
-
Alternative to
Scenario.When.andWaitForStateChange(Supplier, Predicate)for better readability if execution customizations have been applied before. - forTarget(String) - Static method in class org.springframework.modulith.events.RoutingTarget
-
Creates a new
RoutingTarget.RoutingTargetBuilderfor the given target. - forTransport(EventExternalizationTransport) - Method in class org.springframework.modulith.events.support.OutboxEventExternalizerFactory
-
Creates a
OutboxEventExternalizerfor the givenEventExternalizationTransport. - forwardExecutorService(ApplicationContext) - Static method in interface org.springframework.modulith.test.ScenarioCustomizer
-
Creates a default scenario customizer that will try to find an
ExecutorServicein the givenApplicationContextin the following order: A uniqueExecutorServicebean defined AThreadPoolTaskExecutorbean defined (the default Spring Boot creates in case noExecutoris explicitly defined in theApplicationContext - from(String) - Static method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- from(Environment) - Static method in enum class org.springframework.modulith.events.ExternalizationMode
-
Looks up the
ExternalizationModefrom the given environment or usesExternalizationMode.MODULE_LISTENERas default. - from(Environment) - Static method in enum class org.springframework.modulith.events.support.CompletionMode
-
Looks up the
CompletionModefrom the given environment or usesCompletionMode.UPDATEas default. - from(JavaPackage, String) - Static method in class org.springframework.modulith.core.ApplicationModuleSource
-
Creates a new
ApplicationModuleSourcefor the givenJavaPackageand name. - from(JavaPackage, ApplicationModuleDetectionStrategy, boolean) - Static method in class org.springframework.modulith.core.ApplicationModuleSource
-
Returns a
StreamofApplicationModuleSources by applying the givenApplicationModuleDetectionStrategyto the given base package. - fromCodeUnitParameter(JavaCodeUnit, JavaClass) - Static method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- fromCodeUnitReturnType(JavaCodeUnit) - Static method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- fromConfig(String) - Static method in enum class org.springframework.modulith.junit.Changes.OnNoChange
-
Creates a new
Changes.OnNoChangefrom the given configuration value. - fromType(ArchitecturallyEvidentType) - Static method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- FULL_NAME - Enum constant in enum class org.springframework.modulith.core.FormattableType.NonModuleTypeAbbreviation
-
Render full name.
- fullyQualifiedClassName() - Method in record class org.springframework.modulith.junit.Changes.Change.JavaSourceChange
-
Returns the value of the
fullyQualifiedClassNamerecord component. - fullyQualifiedClassName() - Method in record class org.springframework.modulith.junit.Changes.Change.JavaTestSourceChange
-
Returns the value of the
fullyQualifiedClassNamerecord component. - fullyQualifiedClassName() - Method in record class org.springframework.modulith.junit.Changes.Change.KotlinSourceChange
-
Returns the value of the
fullyQualifiedClassNamerecord component. - fullyQualifiedClassName() - Method in record class org.springframework.modulith.junit.Changes.Change.KotlinTestSourceChange
-
Returns the value of the
fullyQualifiedClassNamerecord component. - fullyQualifiedClassName() - Method in interface org.springframework.modulith.junit.Changes.Change.SourceChange
G
- get() - Method in class org.springframework.modulith.events.AnnotationTargetLookup
- get() - Method in class org.springframework.modulith.runtime.ApplicationModulesRuntime
- getAbbreviatedFullName() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns the abbreviated (i.e. every package fragment reduced to its first character) full name.
- getAbbreviatedFullName() - Method in class org.springframework.modulith.core.FormattableType
-
Returns the abbreviated (i.e. every package fragment reduced to its first character) full name, e.g.
- getAbbreviatedFullName(ApplicationModule) - Method in class org.springframework.modulith.core.FormattableType
-
Returns the abbreviated full name of the type abbreviating only the part of the given
ApplicationModule's base package. - getAbbreviatedFullName(ApplicationModule, FormattableType.NonModuleTypeAbbreviation) - Method in class org.springframework.modulith.core.FormattableType
-
Returns the abbreviated full name of the type abbreviating only the part of the given
ApplicationModule's base package. - getAdditionalVerifications() - Method in class org.springframework.modulith.core.VerificationOptions
-
Returns all additional verifications.
- getAdvice() - Method in class org.springframework.modulith.events.support.CompletionRegisteringAdvisor
- getAggregateRoots() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all types that are considered aggregate roots.
- getAllDependencies(ApplicationModules, DependencyType...) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the all
ApplicationModuleDependencies(including transitive ones) of the currentApplicationModule. - getAllowedDependencies(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all declared allowed module dependencies, either explicitly declared or defined as shared on the given
ApplicationModulesinstance. - getAnnotation(Class<A>) - Method in class org.springframework.modulith.core.JavaPackage
-
Return the annotation of the given type declared on the package.
- getApiBase() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
- getApplicationEvent() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the event as Spring
ApplicationEvent, effectively wrapping it into aPayloadApplicationEventin case it's not one already. - getApplicationModuleDetectionStrategy() - Method in interface org.springframework.modulith.core.ApplicationModuleSourceFactory
-
Returns the
ApplicationModuleDetectionStrategyto be used to detectApplicationModuleSources from the packages returned byApplicationModuleSourceFactory.getRootPackages(). - getApplicationModules() - Method in class org.springframework.modulith.actuator.ApplicationModulesEndpoint
-
Returns the
ApplicationModulesmetadata asMap(to be rendered as JSON). - getApplicationModules() - Method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.ApplicationModulesBootstrap
- getApplicationModuleSources(Function<String, JavaPackage>, boolean) - Method in interface org.springframework.modulith.core.ApplicationModuleSourceFactory
-
Creates
ApplicationModuleSourcefor individually, manually described application modules. - getApplicationModuleSources(JavaPackage, ApplicationModuleDetectionStrategy, boolean) - Method in interface org.springframework.modulith.core.ApplicationModuleSourceFactory
-
Creates all
ApplicationModuleSources using the given base package andApplicationModuleDetectionStrategy. - getApplicationName() - Method in class org.springframework.modulith.observability.ModulithContext
- getArchitecturallyEvidentType(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the
ArchitecturallyEvidentTypefor the given type. - getArchiveSchemaResourceFilename(boolean) - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- getArchiveTable() - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
- getBasePackage() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the module's base package.
- getBasePackages() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getBasePackages() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Returns all base packages of the modulith.
- getBasePackages() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getBasePackages() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns all base packages the current execution needs to use for component scanning, auto-configuration etc.
- getBatchSize() - Method in class org.springframework.modulith.events.ResubmissionOptions
- getBootstrapBasePackages(ApplicationModules, DependencyDepth) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
JavaPackagefor the current module including the ones by its dependencies. - getBootstrapDependencies(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all modules that contain types which the types of the current module depend on.
- getBootstrapDependencies(ApplicationModules, DependencyDepth) - Method in class org.springframework.modulith.core.ApplicationModule
- getBootstrapMode() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns the
ApplicationModuleTest.BootstrapModeto be used for the executions. - getBrokerResult() - Method in class org.springframework.modulith.events.EventExternalized
-
Returns the broker result.
- getByName(String) - Method in class org.springframework.modulith.core.NamedInterfaces
-
Returns the
NamedInterfacewith the given name if present. - getChangedClasses() - Method in class org.springframework.modulith.junit.Changes
- getChanges() - Method in class org.springframework.modulith.junit.StateStore
-
Returns all changes made to the project.
- getChanges(Environment) - Static method in class org.springframework.modulith.junit.ChangesFactory
-
Creates a new
Changesinstance from anEnvironment. - getCheckInterval() - Method in class org.springframework.modulith.events.config.StalenessProperties
- getClasses() - Method in class org.springframework.modulith.core.ApplicationModule
- getClasses() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all classes residing in the current package and potentially in sub-packages if the current package was created to include them.
- getClassesExcept(Iterable<JavaPackage>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all Classes residing in the current package but not in any of the given sub-packages.
- getComparator() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns a
Comparatorthat will sort objects based on their types' application module. - getCompletedEntityType() - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
-
Returns the type representing completed event publications.
- getCompletedType(CompletionMode) - Static method in class org.springframework.modulith.events.jpa.JpaEventPublication
- getCompletionAttempts() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getCompletionAttempts() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the number of completion attempts.
- getCompletionDate() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getCompletionDate() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the completion date of the publication.
- getCompletions(Element, AnnotationMirror, ExecutableElement, String) - Method in class org.springframework.modulith.apt.SpringModulithProcessor
- getContextualName() - Method in class org.springframework.modulith.observability.ModulithContext
- getContextualName(ModulithContext) - Method in interface org.springframework.modulith.observability.ModulithObservationConvention
- getCreations() - Method in interface org.springframework.modulith.core.TypeAware
-
Returns all
JavaCalls creating an instance ofTypeAware.getType(), i.e. either invocations of a constructor or of a static factory method returning the type itself. - getDatabaseInitializerBeanTypes() - Method in class org.springframework.modulith.events.jdbc.ModulithDatabaseInitializerDetector
- getDatabaseType() - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
-
Returns the
DatabaseType. - getDate() - Method in class org.springframework.modulith.moments.DayHasPassed
-
The day that has just passed.
- getDeclaredDependencies() - Method in interface org.springframework.modulith.core.ApplicationModuleInformation
-
Returns all allowed dependencies.
- getDeclaredDependencies() - Method in class org.springframework.modulith.core.ApplicationModuleInformationFactory.JMoleculesModule
- getDeclaredDependencies() - Method in class org.springframework.modulith.core.ApplicationModuleInformationFactory.SpringModulithModule
- getDefaultCustomizer(Method, ApplicationContext) - Method in interface org.springframework.modulith.test.ScenarioCustomizer
-
Return a customizer to be applied to the
Scenarioinstance handed into the given method. - getDefaultedNames(NamedInterface, String) - Static method in class org.springframework.modulith.core.NamedInterface
-
Returns the names declared in the given
NamedInterfaceannotation or defaults to the local name of the given package if none declared. - getDependencies() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns all module dependencies, based on the current
ApplicationModuleTest.BootstrapMode. - getDependencies(ApplicationModules, DependencyDepth, DependencyType...) - Method in class org.springframework.modulith.core.ApplicationModule
- getDependencyType() - Method in interface org.springframework.modulith.core.ApplicationModuleDependency
-
The type of the dependency.
- getDepth() - Method in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Returns the
DependencyDepthassociated with theApplicationModuleTest.BootstrapMode. - getDescription() - Method in class org.springframework.modulith.core.Classes
- getDescription() - Method in class org.springframework.modulith.core.JavaPackage
- getDescription() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Returns the description of the
Documenter.CanvasOptions.Grouping. - getDescription() - Method in exception org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependency
- getDetector(PropertyResolver) - Static method in interface org.springframework.modulith.junit.diff.FileModificationDetector
-
Returns the
FileModificationDetectorto be used. - getDirectDependencies(ApplicationModules, DependencyType...) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the direct
ApplicationModuleDependenciesof the currentApplicationModule. - getDirectlyNestedModules(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the
ApplicationModules directly nested inside the current one. - getDirectSubPackages() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all direct sub-packages of the current one.
- getDisplayName() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the name of the
ApplicationModulefor display purposes. - getDisplayName() - Method in interface org.springframework.modulith.core.ApplicationModuleInformation
-
Returns the display name to be used to describe the module.
- getDisplayName() - Method in class org.springframework.modulith.core.ApplicationModuleInformationFactory.JMoleculesModule
- getDisplayName() - Method in class org.springframework.modulith.core.ApplicationModuleInformationFactory.SpringModulithModule
- getDisplayName() - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns the human-readable name of the module.
- getDisplayName() - Method in class org.springframework.modulith.observability.support.DefaultObservedModule
- getDocumentation(JavaClass) - Method in class org.springframework.modulith.docs.CodeReplacingDocumentationSource
- getDocumentation(JavaClass) - Method in interface org.springframework.modulith.docs.DocumentationSource
-
Returns the documentation to be used for the given
JavaClass. - getDocumentation(JavaClass) - Method in class org.springframework.modulith.docs.SpringModulithDocumentationSource
- getDocumentation(JavaMethod) - Method in class org.springframework.modulith.docs.CodeReplacingDocumentationSource
- getDocumentation(JavaMethod) - Method in interface org.springframework.modulith.docs.DocumentationSource
-
Returns the documentation to be used for the given
JavaMethod. - getDocumentation(JavaMethod) - Method in class org.springframework.modulith.docs.SpringModulithDocumentationSource
- getDocumentation(JavaPackage) - Method in class org.springframework.modulith.docs.CodeReplacingDocumentationSource
- getDocumentation(JavaPackage) - Method in interface org.springframework.modulith.docs.DocumentationSource
-
Returns the documentation for the given
JavaPackage. - getDocumentation(JavaPackage) - Method in class org.springframework.modulith.docs.SpringModulithDocumentationSource
- getEnd() - Method in enum class org.springframework.modulith.moments.Quarter
-
Returns the end
MonthDay. - getEnd() - Method in class org.springframework.modulith.moments.ShiftedQuarter
- getEndDate() - Method in class org.springframework.modulith.moments.QuarterHasPassed
-
Returns the date of the last day of the quarter that has just passed.
- getEndDate() - Method in class org.springframework.modulith.moments.WeekHasPassed
-
Returns the end date of the week that has passed.
- getEndDate() - Method in class org.springframework.modulith.moments.YearHasPassed
-
Returns the end date of the year passed.
- getEndDate(Year) - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns the end date of the
ShiftedQuarterfor the givenYear. - getEntryPoints() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
EntryPoints.EntryPoints of the module, i.e. methods or constructors that can trigger module behavior from the outside. - getEvent() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getEvent() - Method in class org.springframework.modulith.events.EventExternalized
-
Returns the source event.
- getEvent() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the event that is published.
- getEvent() - Method in class org.springframework.modulith.observability.support.ObservedModuleEvent
- getEventCounterName() - Method in class org.springframework.modulith.observability.support.ObservedModuleEvent
- getEventPublications() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
EntryPoints.EntryPoints (seeApplicationModule.getEntryPoints()) that potentially (transitively) trigger the creation of one of the module'sEventTypes, paired with theEventType(s) they trigger. - getEventReference() - Method in class org.springframework.modulith.observability.support.ObservedModuleEvent
- getEventsListenedTo(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all event types the current module exposes an event listener for.
- getEventType() - Method in class org.springframework.modulith.events.EventExternalized
-
Returns the type of the source event.
- getExecution() - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory.ModuleContextCustomizer
-
Returns the underlying initialized
ModuleTestExecution. - getExistingModuleOf(JavaClass, ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- getExposedClasses() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the classes exposed by this package, i.e. only public ones.
- getExtraIncludes() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns all
ApplicationModules registered as extra includes for the execution. - getFilter() - Method in class org.springframework.modulith.events.ResubmissionOptions
- getFullName() - Method in class org.springframework.modulith.core.FormattableType
-
Returns the type's full name.
- getFullyQualifiedTypeName() - Method in class org.springframework.modulith.core.SpringBean
-
Returns the fully-qualified name of the Spring bean type.
- getGroupings() - Static method in class org.springframework.modulith.docs.Groupings.JMoleculesGroupings
- getGroupings() - Static method in class org.springframework.modulith.docs.Groupings.SpringGroupings
-
Returns Spring Framework-related
Documenter.CanvasOptions.Groupings. - getHeadersFor(Object) - Method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
- getHeadersFor(Object) - Method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Returns the headers to be attached to the message sent out for the given event.
- getHighCardinalityKeyValues(ModulithContext) - Method in interface org.springframework.modulith.observability.ModulithObservationConvention
- getHighCardinalityValues() - Method in class org.springframework.modulith.observability.ModulithContext
- getId() - Method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Returns the identifier of the application.
- getId() - Method in class org.springframework.modulith.runtime.SpringBootApplicationRuntime
- getIdentifier() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the logical identifier of the module.
- getIdentifier() - Method in class org.springframework.modulith.core.ApplicationModuleSource
-
Returns the
ApplicationModuleIdentifierto be used for the module. - getIdentifier() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getIdentifier() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns a unique identifier for this publication.
- getIdentifier() - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns the
ApplicationModuleIdentifierof the underlying module. - getIdentifier() - Method in class org.springframework.modulith.observability.support.DefaultObservedModule
- getIdentifiers() - Method in class org.springframework.modulith.runtime.autoconfigure.ApplicationModuleMetadata
-
Returns all
ApplicationModuleIdentifiers. - getIdentifierSource() - Static method in class org.springframework.modulith.core.Types.JMoleculesTypes
-
Returns an
ApplicationModuleSource.ApplicationModuleSourceMetadatafor theModuleannotation if present. - getIncompleteType() - Static method in class org.springframework.modulith.events.jpa.JpaEventPublication
- getInitializerTypeNames() - Method in class org.springframework.modulith.runtime.autoconfigure.ApplicationModuleMetadata
-
Returns the names of the types registered as
ApplicationModuleInitializer. - getInstance() - Static method in class org.springframework.modulith.docs.SpringModulithDocumentationSource
-
Creates a new
DocumentationSourceif the backing metadata file (in "generated-spring-modulith/javadoc.json") is present. - getInterfacesWithinModule() - Method in class org.springframework.modulith.core.SpringBean
-
Returns all interfaces implemented by the bean that are part of the same application module.
- getInternalTypes() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all types internal to the module.
- getInvocation() - Method in class org.springframework.modulith.observability.ModulithContext
- getInvokedMethod(MethodInvocation) - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns the name of the actually invoked
Method. - getInvokedMethod(MethodInvocation) - Method in class org.springframework.modulith.observability.support.DefaultObservedModule
- getKey() - Method in class org.springframework.modulith.events.RoutingTarget
-
Returns the routing key.
- getKey() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- getKey(Object) - Method in class org.springframework.modulith.events.support.BrokerRouting
-
Resolves the routing key against the given event.
- getKey(Object) - Method in class org.springframework.modulith.events.support.BrokerRouting.SpelBrokerRouting
- getLastResubmissionDate() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getLastResubmissionDate() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the last time the
EventPublicationwas resubmitted. - getLimitClause(long) - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- getLocale() - Method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.WeekHasPassedMixin
- getLocale() - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
The
Localeto use when determining week boundaries. - getLocale() - Method in class org.springframework.modulith.moments.WeekHasPassed
- getLocalName() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the local name of the package, i.e. the last segment of the qualified package name.
- getLocalName() - Method in class org.springframework.modulith.core.PackageName
-
Returns the last segment of a package name.
- getLocalName(String) - Method in class org.springframework.modulith.core.PackageName
-
Returns the nested name in reference to the given base.
- getLowCardinalityKeyValues(ModulithContext) - Method in interface org.springframework.modulith.observability.ModulithObservationConvention
- getLowCardinalityValues() - Method in class org.springframework.modulith.observability.ModulithContext
- getMainApplicationClass() - Method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Returns the primary application class.
- getMainApplicationClass() - Method in class org.springframework.modulith.runtime.SpringBootApplicationRuntime
- getMapped() - Method in class org.springframework.modulith.events.EventExternalized
-
Returns the mapped event.
- getMaxInFlight() - Method in class org.springframework.modulith.events.ResubmissionOptions
- getMaxItemsToRead() - Method in class org.springframework.modulith.events.core.EventPublicationRepository.FailedCriteria
-
The number of
EventPublications to read. - getMessage() - Method in class org.springframework.modulith.core.Violation
-
Returns the violation message.
- getMessage() - Method in exception org.springframework.modulith.core.Violations
- getMessages() - Method in exception org.springframework.modulith.core.Violations
-
Returns all violations' messages.
- getMetadataLocation() - Static method in class org.springframework.modulith.docs.SpringModulithDocumentationSource
-
Returns the location of the metadata file.
- getMethod() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- getMethod() - Method in class org.springframework.modulith.core.EntryPoints.EntryPoint
-
Returns the method or constructor that forms the entry point.
- getMethodsToIntercept() - Method in class org.springframework.modulith.observability.ObservedModuleType
-
Returns a predicate to filter the methods to intercept.
- getMinAge() - Method in class org.springframework.modulith.events.ResubmissionOptions
- getModifiedFiles() - Method in interface org.springframework.modulith.junit.diff.FileModificationDetector
-
Returns all
ModifiedFiles detected. - getModifiedFiles() - Method in class org.springframework.modulith.junit.diff.ReferenceCommitDetector
- getModifiedFiles() - Method in enum class org.springframework.modulith.junit.diff.UncommittedChangesDetector
- getModifiedFiles() - Method in enum class org.springframework.modulith.junit.diff.UnpushedCommitsDetector
- getModifiedFiles() - Method in class org.springframework.modulith.junit.diff.WorkingDirectoryChangesDetector
- getModule() - Method in class org.springframework.modulith.observability.ModulithContext
- getModule() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns the primary
ApplicationModuleto bootstrap. - getModuleAnnotationTypeIfPresent() - Static method in class org.springframework.modulith.core.Types.JMoleculesTypes
- getModuleBasePackage() - Method in class org.springframework.modulith.core.ApplicationModuleSource
-
Returns the base package for the module.
- getModuleBasePackages() - Method in interface org.springframework.modulith.core.ApplicationModuleSourceFactory
-
Returns additional module base packages to create
ApplicationModuleSources from. - getModuleBasePackages(JavaPackage) - Method in interface org.springframework.modulith.core.ApplicationModuleDetectionStrategy
-
Given the
JavaPackagethat Spring Modulith was initialized with, return the base packages that are supposed to be considered base packages forApplicationModules. - getModuleByName(String) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the
ApplicationModulewith the given name. - getModuleByType(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the module that contains the given
JavaClass. - getModuleByType(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the
ApplicationModulecontaining the given type. - getModuleByType(String) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns the
ApplicationModulecontaining the given type. - getModuleByType(String) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the
ApplicationModulecontaining the type with the given simple or fully-qualified name. - getModuleForPackage(String) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the
ApplicationModulecontaining the given package. - getModuleProperties(ApplicationModule) - Method in class org.springframework.modulith.docs.ConfigurationProperties
-
Returns all
ConfigurationProperties.ModulePropertyinstances for the givenApplicationModule. - getModules() - Method in class org.springframework.modulith.docs.Documenter
- getModules() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns all
ApplicationModulesof the application. - getMonth() - Method in class org.springframework.modulith.moments.MonthHasPassed
-
The month that has just passed.
- getName() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the name of the package.
- getName() - Method in class org.springframework.modulith.core.NamedInterface
-
Returns the
NamedInterface's name. - getName() - Method in class org.springframework.modulith.core.PackageName
-
Returns the raw name.
- getName() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Returns the name of the
Documenter.CanvasOptions.Grouping. - getName() - Method in interface org.springframework.modulith.observability.ModulithObservationConvention
- getNamedInterfaces() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
NamedInterfacesexposed by the module. - getNamedInterfaces(ApplicationModuleInformation) - Method in class org.springframework.modulith.core.ApplicationModuleSource
-
Returns all
NamedInterfacesfor the givenApplicationModuleInformation. - getNamedInterfaces(ApplicationModuleInformation, JavaPackage) - Method in class org.springframework.modulith.core.ApplicationModuleSource
-
Returns all
NamedInterfacesfor the givenApplicationModuleInformationand a customizedJavaPackage. - getNamedInterfacesContaining(JavaClass) - Method in class org.springframework.modulith.core.NamedInterfaces
-
Returns all named interfaces that contain the given type.
- getNamedInterfacesContaining(Class<?>) - Method in class org.springframework.modulith.core.NamedInterfaces
- getNestedModules(ApplicationModule) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns all nested modules of the given
ApplicationModule. - getNestedModules(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all of the current
ApplicationModule's nestedApplicationModules including ones contained in nested modules in turn. - getObservedModuleType(Class<?>, ApplicationModules) - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns the
ObservedModuleTypefor the given type andApplicationModules. - getObservedModuleType(Class<?>, ApplicationModules) - Method in class org.springframework.modulith.observability.support.DefaultObservedModule
- getOrder() - Method in class org.springframework.modulith.events.jdbc.ModulithDatabaseInitializerDetector
- getOrder() - Method in class org.springframework.modulith.events.support.CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor
- getOrder() - Method in class org.springframework.modulith.observability.support.ModuleObservabilityBeanPostProcessor
- getOutputFolder() - Method in class org.springframework.modulith.docs.Documenter.Options
- getPackageName() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the name of the package.
- getParent() - Method in class org.springframework.modulith.core.PackageName
-
Returns the parent
PackageName. - getParentModule(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the current module's immediate parent module, if present.
- getParentOf(ApplicationModule) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the parent
ApplicationModuleif the given one has one. - getPointcut() - Method in class org.springframework.modulith.events.support.CompletionRegisteringAdvisor
- getPublication(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry.PublicationsInProgress
-
Returns the
TargetEventPublicationassociated with the given event andPublicationTargetIdentifier. - getPublicationDate() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getPublicationDate() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the time the event is published at.
- getPublicationDateReference() - Method in class org.springframework.modulith.events.core.EventPublicationRepository.FailedCriteria
-
The reference date to use as cutoff when selecting failed
EventPublications, i.e. only older publications will be selected. - getPublicationsInProgress() - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- getPublishedEvents() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
EventTypes published by the module. - getQualifiedName(ApplicationModuleIdentifier) - Method in class org.springframework.modulith.core.NamedInterface
- getQuarter() - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns the logical
Quarter. - getReferenceCommitProperty(PropertyResolver) - Static method in class org.springframework.modulith.junit.diff.ReferenceCommitDetector
- getReferenceMethods() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- getReferenceMethods() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- getReferenceMethods() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- getReferenceTypes() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
-
Returns all types referred to.
- getRequiredClass(Class<?>) - Method in class org.springframework.modulith.core.Classes
- getResolvableType() - Method in class org.springframework.modulith.events.EventExternalized
- getResourceTarget() - Static method in class org.springframework.modulith.docs.util.BuildSystemUtils
-
Returns the path to the target folder for resources.
- getRootPackages() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns all root packages.
- getRootPackages() - Method in class org.springframework.modulith.core.ApplicationModuleSourceContributions
- getRootPackages() - Method in interface org.springframework.modulith.core.ApplicationModuleSourceFactory
-
Returns the additional root packages to be considered.
- getRules() - Static method in class org.springframework.modulith.core.Types.JMoleculesTypes
-
Returns all architectural rules to enforce depending on the classpath arrangement.
- getSchema() - Method in class org.springframework.modulith.events.jdbc.JdbcConfigurationProperties
-
The name of the schema where the event publication table resides.
- getSchema() - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
-
Return the schema to be used.
- getSchemaInitialization() - Method in class org.springframework.modulith.events.jdbc.JdbcConfigurationProperties
-
Whether to initialize the JDBC event publication schema.
- getSchemaResource(JdbcRepositorySettings) - Method in class org.springframework.modulith.events.jdbc.DatabaseSchemaLocator
-
Loads the
Resourcecontaining the schema for the givenJdbcRepositorySettingsfrom the classpath. - getSchemaResourceFilename(boolean) - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- getSchemaVersion() - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
- getSetSchemaSql(String) - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- getSharedModuleIdentifiers() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getSharedModuleIdentifiers() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Returns the
ApplicationModuleIdentifiers of shared modules, i.e. modules that are supposed to always be included in bootstraps. - getSharedModuleIdentifiers() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getSharedModules() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns all
ApplicationModules registered as shared ones. - getShiftedQuarter(LocalDate) - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
Returns the
ShiftedQuarterfor the given reference date. - getSource() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getSource() - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
-
Returns the source
JavaClass. - getSource() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the source of the
ApplicationModules. - getSource() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Returns the source of the Spring Modulith setup.
- getSource() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getSources() - Method in class org.springframework.modulith.core.EventType
-
The sources that create that event.
- getSources(Classes) - Method in class org.springframework.modulith.core.ApplicationModuleSourceContributions
- getSourceType() - Method in interface org.springframework.modulith.core.ApplicationModuleDependency
-
The source java type establishing the dependency.
- getSpringBeans() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
SpringBeans contained in the module. - getSpringBeans(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
SpringBeans assignable to the given type. - getSpringBeansInternal() - Method in class org.springframework.modulith.core.ApplicationModule
- getStaleness(EventPublication.Status) - Method in class org.springframework.modulith.events.config.StalenessProperties
- getStaleness(EventPublication.Status) - Method in interface org.springframework.modulith.events.core.Staleness
-
Returns the
Durationafter whichEventPublications with a certainEventPublication.Statusare considered stale. - getStart() - Method in enum class org.springframework.modulith.moments.Quarter
-
Returns the start
MonthDay. - getStart() - Method in class org.springframework.modulith.moments.ShiftedQuarter
- getStartDate() - Method in class org.springframework.modulith.moments.QuarterHasPassed
-
Returns the date of the first day of the quarter that has just passed.
- getStartDate() - Method in class org.springframework.modulith.moments.WeekHasPassed
-
Returns the start date of the week that has passed.
- getStartDate() - Method in class org.springframework.modulith.moments.YearHasPassed
-
Returns the start date of the year passed.
- getStartDate(Year) - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns the start date of the
ShiftedQuarterfor the givenYear. - getStatus() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getStatus() - Method in interface org.springframework.modulith.events.EventPublication
-
Return the publication's
EventPublication.Status. - getStrategy() - Static method in class org.springframework.modulith.core.ApplicationModuleDetectionStrategyLookup
-
Returns the
ApplicationModuleDetectionStrategyto be used to detectApplicationModules. - getSubPackage(String) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the sub-package with the given local name.
- getSubPackages() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns a
JavaPackagesinstance representing all sub-packages. - getSubPackagesAnnotatedWith(Class<? extends Annotation>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all sub-packages that carry the given annotation type.
- getSubPackagesMatching(BiPredicate<JavaPackage, String>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all sub-packages that match the given
BiPredicatefor the candidate package and its trailing name relative to the current one. - getSubPackagesOf(JavaPackage) - Method in class org.springframework.modulith.core.JavaPackages
-
Returns all
JavaPackagesthat are a sub-package of the given one. - getSuggestedAction() - Method in exception org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependency
- getSupportedAnnotationTypes() - Method in class org.springframework.modulith.apt.SpringModulithProcessor
- getSupportedOptions() - Method in class org.springframework.modulith.apt.SpringModulithProcessor
- getSupportedSourceVersion() - Method in class org.springframework.modulith.apt.SpringModulithProcessor
- getSystemName() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getSystemName() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the system name if defined.
- getSystemName() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Returns the name of the system.
- getSystemName() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getTable() - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
- getTarget() - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
-
Returns the target
JavaClass. - getTarget() - Method in class org.springframework.modulith.events.EventExternalized
-
Returns the routing target.
- getTarget() - Method in class org.springframework.modulith.events.RoutingTarget
-
Returns the routing target.
- getTarget() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- getTarget(Object) - Method in class org.springframework.modulith.events.support.BrokerRouting.SpelBrokerRouting
- getTarget(Object) - Method in class org.springframework.modulith.events.support.BrokerRouting
-
Returns the actual routing target for the given event.
- getTarget(String) - Static method in class org.springframework.modulith.docs.util.BuildSystemUtils
-
Returns a path to a resource in the build target folder.
- getTargetDetector(PropertyResolver) - Static method in interface org.springframework.modulith.junit.diff.FileModificationDetector
- getTargetIdentifier() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getTargetIdentifier() - Method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Returns the identifier of the target that the event is supposed to be published to.
- getTargetModule() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
-
Returns the target module of the dependency.
- getTargetModule() - Method in interface org.springframework.modulith.core.ApplicationModuleDependency
-
The target
ApplicationModule. - getTargetNamedInterface() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
-
Returns the
NamedInterfacedeclared as valid target if declared. - getTargetResource(String) - Static method in class org.springframework.modulith.docs.util.BuildSystemUtils
-
Returns a
Resourcein the build target folder. - getTargetType() - Method in interface org.springframework.modulith.core.ApplicationModuleDependency
-
The dependency target type.
- getTime() - Method in class org.springframework.modulith.moments.HourHasPassed
-
The hour that has just passed.
- getTrailingName(JavaPackage) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the name of the given
JavaPackagewith regards to the current one. - getTransactionPhase() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- getType() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns the
JavaClassbacking theArchitecturallyEvidentType. - getType() - Method in class org.springframework.modulith.core.EntryPoints.EntryPoint
-
Returns the type the entry point is declared on.
- getType() - Method in class org.springframework.modulith.core.EventType
-
The
JavaClassof theEventType. - getType() - Method in class org.springframework.modulith.core.SpringBean
-
Returns the
JavaClassof theSpringBean. - getType() - Method in interface org.springframework.modulith.core.TypeAware
-
Returns the underlying
JavaClass. - getType(String) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the
JavaClassfor the given candidate simple or fully-qualified type name. - getUnnamedInterface() - Method in class org.springframework.modulith.core.NamedInterfaces
-
Returns the unnamed
NamedInterfaceof the module. - getUserClass(Object, String) - Method in class org.springframework.modulith.runtime.ApplicationModulesRuntime
-
Returns the actual user class for a given bean and bean name.
- getUserClass(Object, String) - Method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Obtain the end user class for the given bean and bean name.
- getUserClass(Object, String) - Method in class org.springframework.modulith.runtime.SpringBootApplicationRuntime
- getValue() - Method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
-
Returns the raw String value of the identifier.
- getValueTypes() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all value types contained in the module.
- getWeek() - Method in class org.springframework.modulith.moments.WeekHasPassed
-
The
Localeto be used to calculate the start date of the week. - getYear() - Method in class org.springframework.modulith.moments.WeekHasPassed
-
The year of the week that has just passed.
- getYear() - Method in class org.springframework.modulith.moments.YearHasPassed
-
The
Yearthat has just passed. - getZoneId() - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
The
ZoneIdto determine times which are attached to the events published. - groupBeans(ApplicationModule) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
- groupingBy(String, Predicate<SpringBean>) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Registers a component grouping with the given name and selecting filter.
- groupingBy(String, Predicate<SpringBean>, String) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Registers a component grouping with the given name, selecting filter and description.
- groupingBy(Documenter.CanvasOptions.Grouping...) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Creates a new
Documenter.CanvasOptionswith the givenDocumenter.CanvasOptions.Groupings added. - Groupings - Class in org.springframework.modulith.docs
-
A collection of
Documenter.CanvasOptions.Groupings. - Groupings() - Constructor for class org.springframework.modulith.docs.Groupings
- Groupings(MultiValueMap<Documenter.CanvasOptions.Grouping, SpringBean>) - Constructor for class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- Groupings.JMoleculesGroupings - Class in org.springframework.modulith.docs
-
jMolecules-related
Documenter.CanvasOptions.Groupings. - Groupings.SpringGroupings - Class in org.springframework.modulith.docs
-
Spring Framework-related
Documenter.CanvasOptions.Groupings.
H
- H2 - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
- has(DescribedPredicate<T>) - Static method in class org.springframework.modulith.core.SyntacticSugar
- hasAnyType(Collection<DependencyType>) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- hasBasePackage(String) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the module has a base package with the given name.
- hasBuildResourceChanges() - Method in class org.springframework.modulith.junit.Changes
-
Returns whether a build-related resource has changed.
- hasClassChanges() - Method in class org.springframework.modulith.junit.Changes
- hasClasspathResourceChange() - Method in class org.springframework.modulith.junit.Changes
-
Returns whether the current changes contain a change to a classpath resource, i.e. a non-source file that lives on the classpath.
- hasEventOfType(Class<?>) - Method in class org.springframework.modulith.observability.support.ObservedModuleEvent
- hasExplicitInterfaces() - Method in class org.springframework.modulith.core.NamedInterfaces
-
Returns whether at least one explicit
NamedInterfaceis declared. - hasExpression() - Method in class org.springframework.modulith.events.RoutingTarget
-
Returns whether either the target or key is using a SpEL expression.
- hasExternalizedAnnotation(Object) - Static method in class org.springframework.modulith.events.AnnotationTargetLookup
-
Returns whether the given event is annotated with a supported
Externalizedannotation. - hashCode() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
- hashCode() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
- hashCode() - Method in class org.springframework.modulith.core.ApplicationModule
- hashCode() - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- hashCode() - Method in class org.springframework.modulith.core.ApplicationModuleIdentifier
- hashCode() - Method in class org.springframework.modulith.core.ApplicationModuleSource
- hashCode() - Method in class org.springframework.modulith.core.Classes
- hashCode() - Method in class org.springframework.modulith.core.EntryPoints.EntryPoint
- hashCode() - Method in class org.springframework.modulith.core.EventType
- hashCode() - Method in class org.springframework.modulith.core.JavaPackage
- hashCode() - Method in class org.springframework.modulith.core.PackageName
- hashCode() - Method in class org.springframework.modulith.core.SpringBean
- hashCode() - Method in class org.springframework.modulith.core.Violation
- hashCode() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.docs.metadata.MethodMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.docs.metadata.TypeMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- hashCode() - Method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
- hashCode() - Method in class org.springframework.modulith.events.EventExternalized
- hashCode() - Method in class org.springframework.modulith.events.jpa.JpaEventPublication
- hashCode() - Method in record class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository.IdOnly
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.modulith.events.RoutingTarget
- hashCode() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- hashCode() - Method in record class org.springframework.modulith.junit.Changes.Change.JavaSourceChange
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.junit.Changes.Change.JavaTestSourceChange
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.junit.Changes.Change.KotlinSourceChange
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.junit.Changes.Change.KotlinTestSourceChange
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.junit.Changes.Change.OtherFileChange
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.junit.diff.ModifiedFile
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.junit.TestExecutionCondition.ConditionContext
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.modulith.moments.DayHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.HourHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.MonthHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.QuarterHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.ShiftedQuarter
- hashCode() - Method in class org.springframework.modulith.moments.WeekHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.YearHasPassed
- hashCode() - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory.ModuleContextCustomizer
- hashCode() - Method in class org.springframework.modulith.test.ModuleTestExecution
- hashCode() - Method in class org.springframework.modulith.test.ModuleTypeExcludeFilter
- hasKeyExpression() - Method in class org.springframework.modulith.events.RoutingTarget
-
Returns whether the routing key is a SpEL expression.
- hasMessageContaining(String) - Method in class org.springframework.modulith.core.Violation
-
Returns whether the
Violation's message contains the given candidate. - HasMigrationFiles - Class in org.springframework.modulith.runtime.flyway
-
A
MigrationFilterthat checks whether anApplicationModuledeclares any migration files at all. - HasMigrationFiles(ResourcePatternResolver) - Constructor for class org.springframework.modulith.runtime.flyway.HasMigrationFiles
-
Creates a new
HasMigrationFilesMigrationFilter. - hasName(String) - Method in class org.springframework.modulith.core.PackageName
-
Returns whether the
PackageNamehas the givenStringname. - hasOnlyFallbackGroup() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- hasOrigin(String) - Method in interface org.springframework.modulith.junit.Changes.Change
-
Returns whether the change has the given origin.
- hasOrigin(String) - Method in record class org.springframework.modulith.junit.Changes.Change.OtherFileChange
- hasOrigin(String) - Method in interface org.springframework.modulith.junit.Changes.Change.SourceChange
- hasParent() - Method in class org.springframework.modulith.core.PackageName
-
Returns whether the current
PackageNamehas a parent. - hasParent(ApplicationModule) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns whether the given
ApplicationModulehas a parent one. - hasSameNameAs(NamedInterface) - Method in class org.springframework.modulith.core.NamedInterface
-
Returns whether the given
NamedInterfacehas the same name as the current one. - hasSignatureOf(Method) - Method in record class org.springframework.modulith.docs.metadata.MethodMetadata
-
Returns whether the method represented has the same signature as the given one.
- hasSources() - Method in class org.springframework.modulith.core.EventType
-
Whether any sources exist at all.
- hasSourceType() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
- hasType(DependencyType) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
-
Returns whether the
ApplicationModule.QualifiedDependencyhas the givenDependencyType. - hasViolations() - Method in exception org.springframework.modulith.core.Violations
-
Returns whether there are violations available.
- have(DescribedPredicate<T>) - Static method in class org.springframework.modulith.core.SyntacticSugar
- headers(Class<T>, Function<T, Map<String, Object>>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers the given type-specific function to extract headers from the events to be externalized.
- headers(Function<Object, Map<String, Object>>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers the given function to extract headers from the events to be externalized.
- HIDDEN - Enum constant in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.ElementsWithoutRelationships
- hideInternalFilter(ApplicationModule) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
- HourHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEventpublished on each day. - HourHasPassedMixin() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.HourHasPassedMixin
- HOURS - Enum constant in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
-
Publish hourly events.
- HSQLDB - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
I
- id - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- id - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- id() - Element in annotation interface org.springframework.modulith.ApplicationModule
-
The identifier of the module.
- id() - Element in annotation interface org.springframework.modulith.events.ApplicationModuleListener
-
An optional identifier for the listener, defaulting to the fully-qualified signature of the declaring method (e.g.
- id() - Method in record class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository.IdOnly
-
Returns the value of the
idrecord component. - identifier - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- IdOnly(UUID) - Constructor for record class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository.IdOnly
-
Creates an instance of a
IdOnlyrecord class. - ifPresent(Consumer<Stream<TransactionalApplicationListener<ApplicationEvent>>>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Executes the given consumer only if there are actual listeners available.
- IMMEDIATE - Enum constant in enum class org.springframework.modulith.core.DependencyDepth
- implementing(Class<?>) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Helper method to create a
PredicateforSpringBeans implementing the given interface. - includes(String) - Method in class org.springframework.modulith.test.ModuleTestExecution
- including(Predicate<JavaPackage>) - Method in class org.springframework.modulith.core.NamedInterfaces.Builder
-
Adds all packages matching the given predicate as named interface.
- IncompleteEventPublications - Interface in org.springframework.modulith.events
-
All uncompleted event publications.
- init(ProcessingEnvironment) - Method in class org.springframework.modulith.apt.SpringModulithProcessor
- initialize() - Method in interface org.springframework.modulith.ApplicationModuleInitializer
-
Run business logic that's needed to initialize the
ApplicationModule. - initialize() - Method in class org.springframework.modulith.runtime.autoconfigure.LoggingApplicationModuleInitializerAdapter
- initialize(ListableBeanFactory) - Method in class org.springframework.modulith.actuator.ApplicationModulesEndpoint
- initialize(ListableBeanFactory) - Method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.RuntimeApplicationModuleVerifier
- initializeApplicationModules(Class<?>) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.ApplicationModulesBootstrap
- INSTANCE - Enum constant in enum class org.springframework.modulith.junit.diff.UncommittedChangesDetector
- INSTANCE - Enum constant in enum class org.springframework.modulith.junit.diff.UnpushedCommitsDetector
- INSTANCE - Enum constant in enum class org.springframework.modulith.observability.support.DefaultModulithObservationConvention
- instant() - Method in class org.springframework.modulith.moments.support.Moments
- instant() - Method in interface org.springframework.modulith.moments.support.Now
-
Returns the current Instant.
- interceptTestFactoryMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.springframework.modulith.test.ScenarioCustomizer
- interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.springframework.modulith.test.ScenarioCustomizer
- interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.springframework.modulith.test.ScenarioCustomizer
- INVOCATION_TYPE - Enum constant in enum class org.springframework.modulith.observability.ModulithObservations.LowKeys
-
Type of invocation (e.g. event listener).
- invoke(MethodInvocation) - Method in class org.springframework.modulith.events.support.CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor
- invoke(MethodInvocation) - Method in class org.springframework.modulith.observability.support.ModuleEntryInterceptor
- invokeInitializers(Stream<ApplicationModuleInitializer>) - Method in interface org.springframework.modulith.runtime.autoconfigure.ApplicationModuleInitializerInvoker
- invokeInitializers(Stream<ApplicationModuleInitializer>) - Method in class org.springframework.modulith.runtime.autoconfigure.DefaultApplicationModuleInitializerInvoker
- invokeInitializers(Stream<ApplicationModuleInitializer>) - Method in class org.springframework.modulith.runtime.autoconfigure.PrecomputedApplicationModuleInitializerInvoker
- is(DescribedPredicate<T>) - Static method in class org.springframework.modulith.core.SyntacticSugar
- IS_CORE_JAVA_TYPE - Static variable in class org.springframework.modulith.core.Types.JavaTypes
- IS_NOT_CORE_JAVA_TYPE - Static variable in class org.springframework.modulith.core.Types.JavaTypes
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns whether the type is considered an aggregate root in the DDD sense.
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- isAllowedDependency(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
-
Returns whether the given
JavaClassis a valid dependency. - isAllowedDependency(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
- isAnnotatedWith(Class<? extends Annotation>) - Static method in class org.springframework.modulith.core.SyntacticSugar
- isAnnotatedWith(Class<? extends Annotation>) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
- isAnnotatedWith(String) - Static method in class org.springframework.modulith.core.SyntacticSugar
- isApiBean() - Method in class org.springframework.modulith.core.SpringBean
-
Returns whether the bean is considered to be an API bean, which means it is either a public type exposed in an API package of the module or implements an exposed API interface.
- isApplicationClass(Class<?>) - Method in class org.springframework.modulith.runtime.ApplicationModulesRuntime
-
Returns whether a given
Classis considered an application one (versus Framework ones). - isApplicationClass(Class<?>) - Method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Returns whether the given type is an application class, i.e. user code in one of the application packages.
- isApplicationClass(Class<?>) - Method in class org.springframework.modulith.runtime.SpringBootApplicationRuntime
- isArchiveCompletion() - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
-
Returns whether we use the archiving completion mode.
- isAssertJPresent() - Static method in class org.springframework.modulith.test.PublishedEventsFactory
-
Returns whether AssertJ is present or not.
- isAssignableTo(Class<?>) - Method in class org.springframework.modulith.core.SpringBean
-
Returns whether the bean is assignable to the given type.
- isAssociatedWith(Object, PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Returns whether the
TargetEventPublicationis associated with the given event instance andPublicationTargetIdentifier. - isAsync() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- isAtBeanMethod(JavaMethod) - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isClasspathResource() - Method in record class org.springframework.modulith.junit.Changes.Change.OtherFileChange
-
Returns whether the change affects a classpath resource (in contrast to other resources).
- isCompleted() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns whether the publication of the event has completed.
- isComponent() - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isConfiguration() - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isConfigurationProperties() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isConfigurationProperties() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isConfigurationProperties() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isConfigurationProperties() - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isController() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isController() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isController() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isController() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- isDefault(PackageName) - Static method in class org.springframework.modulith.core.PackageName
-
Returns whether the given
PackageNameis the default package name (logically an empty string). - isDeleteCompletion() - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
-
Returns whether we use the deleting completion mode.
- isDirectParentOf(JavaPackage) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the current
JavaPackageis the direct parent of the given one. - isDirectParentOf(PackageName) - Method in class org.springframework.modulith.core.PackageName
- isEmpty() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
-
Returns whether we have any allowed dependencies at all.
- isEmpty() - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns whether there are any dependencies at all.
- isEmpty() - Method in class org.springframework.modulith.core.Classes
- isEmpty() - Method in class org.springframework.modulith.core.PackageName
- isEmpty() - Method in class org.springframework.modulith.junit.Changes
-
Returns whether there are any changes at all.
- isEnabled() - Method in class org.springframework.modulith.events.jdbc.JdbcConfigurationProperties.SchemaInitialization
- isEnableTimeMachine() - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
Whether to enable the
TimeMachine. - isEntity() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isEntity() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns whether the type is an entity in the DDD sense.
- isEntity() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isEntity() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- isEventListener() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isEventListener() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isEventListener() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isEventListener() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isEventListenerInvocation(MethodInvocation) - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns whether the given
MethodInvocationis the invocation of an event listener as opposed to a standard method invocation on a Spring bean. - isEventListenerInvocation(MethodInvocation) - Method in class org.springframework.modulith.observability.support.DefaultObservedModule
- isExposed(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the given
JavaClassis exposed by the current module, i.e. whether it's part of any of the module's named interfaces. - isExposed(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the given
JavaClassis exposed by the current module, i.e. whether it's part of any of the module's named interfaces. - isFlywayEnabled() - Method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeProperties
- isHourly() - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
Returns whether to create hourly events.
- isIdentifiedBy(PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Returns whether the publication is identified by the given
PublicationTargetIdentifier. - isIncludedInExecution(ApplicationModuleIdentifier) - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns whether the module with the given identifier is included in the current execution.
- isInjectable() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isInjectable() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isInjectable() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isInterface() - Static method in class org.springframework.modulith.core.Types
-
A
DescribedPredicatematching only interfaces. - isJavaSource() - Method in record class org.springframework.modulith.junit.diff.ModifiedFile
-
Returns whether the modified file is a Java source file.
- isJpaEntity() - Static method in class org.springframework.modulith.core.Types.JavaXTypes
- isJsr303Validator() - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isKotlinSource() - Method in record class org.springframework.modulith.junit.diff.ModifiedFile
-
Returns whether the modified file is Kotlin source file.
- isLastDay(LocalDate) - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns whether the given
LocalDateis the last day of theShiftedQuarter. - isModulePresent() - Static method in class org.springframework.modulith.core.Types.JMoleculesTypes
-
Returns whether the jMolecules
Moduletype is present. - isNamed() - Method in class org.springframework.modulith.core.NamedInterface
-
Return whether this
NamedInterfacehas an explicit name. - isObservedModule(ApplicationModule) - Method in interface org.springframework.modulith.observability.ObservedModule
- isObservedModule(ApplicationModule) - Method in class org.springframework.modulith.observability.support.DefaultObservedModule
- isOpen() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the module is considered open.
- isOpen() - Method in interface org.springframework.modulith.core.ApplicationModuleInformation
-
Returns whether the module is considered open.
- isOpen() - Method in class org.springframework.modulith.core.ApplicationModuleInformationFactory.JMoleculesModule
- isOpen() - Method in class org.springframework.modulith.core.ApplicationModuleInformationFactory.SpringModulithModule
- isOpen(List<String>) - Static method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
- isPackageInfoType(JavaClass) - Static method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the given type is the
package-info.javaone. - isParentPackageOf(JavaPackage) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the current
JavaPackageis a parent package of the given reference one. - isParentPackageOf(PackageName) - Method in class org.springframework.modulith.core.PackageName
-
Returns whether the current
PackageNameis the name of a parent package of the given one. - isPresent() - Static method in class org.springframework.modulith.core.Types.JMoleculesTypes
-
Returns whether jMolecules is generally present.
- isPresent() - Static method in class org.springframework.modulith.core.Types.SpringDataTypes
- isPresent() - Method in class org.springframework.modulith.runtime.autoconfigure.ApplicationModuleMetadata
-
Returns whether the metadata is present at all.
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns whether the type is considered a repository in the DDD sense.
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- isRootModule() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the module is considered a root one, i.e., it is an artificial one created for each base package configured.
- isSchemaSupported() - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- isService() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isService() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isService() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isService() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isSpringDataRepository() - Static method in class org.springframework.modulith.core.Types.SpringDataTypes
- isSubPackageOf(JavaPackage) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the current
JavaPackageis a sub-package of the given reference one. - isSubPackageOf(PackageName) - Method in class org.springframework.modulith.core.PackageName
-
Returns whether the current
PackageNameis the name of a sub-package with the given name. - isUnnamed() - Method in class org.springframework.modulith.core.NamedInterface
-
Returns whether this is the unnamed (implicit)
NamedInterface. - isUpdateCompletion() - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
-
Returns whether we use the updating completion mode.
- isUseLegacyStructure() - Method in class org.springframework.modulith.events.jdbc.JdbcConfigurationProperties
-
Whether to use the legacy event publication database schema.
- isValidDependencyWithin(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- isValueObject() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isValueObject() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isValueObject() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isVerificationEnabled() - Method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeProperties
- iterator() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
- iterator() - Method in class org.springframework.modulith.core.ApplicationModuleIdentifiers
- iterator() - Method in class org.springframework.modulith.core.ApplicationModules
- iterator() - Method in class org.springframework.modulith.core.Classes
- iterator() - Method in class org.springframework.modulith.core.EntryPoints
- iterator() - Method in class org.springframework.modulith.core.JavaPackage
- iterator() - Method in class org.springframework.modulith.core.JavaPackages
- iterator() - Method in class org.springframework.modulith.core.NamedInterface
- iterator() - Method in class org.springframework.modulith.core.NamedInterfaces
- iterator() - Method in class org.springframework.modulith.docs.ConfigurationProperties
- iterator() - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry.PublicationsInProgress
- iterator() - Method in class org.springframework.modulith.junit.Changes
- iterator() - Method in class org.springframework.modulith.test.ModuleTestExecution
J
- Jackson2EventSerializationConfiguration - Class in org.springframework.modulith.events.jackson2
-
Deprecated.since 2.0, in favor of
JacksonEventSerializationConfiguration. - Jackson2EventSerializationConfiguration(ObjectProvider<ObjectMapper>, ApplicationContext) - Constructor for class org.springframework.modulith.events.jackson2.Jackson2EventSerializationConfiguration
-
Deprecated.Creates a new
Jackson2EventSerializationConfigurationfor the givenObjectMapperandApplicationContext. - Jackson2EventSerializer - Class in org.springframework.modulith.events.jackson2
-
Deprecated.since 2.0, in favor of
JacksonEventSerializationConfiguration. - Jackson2EventSerializer(Supplier<ObjectMapper>) - Constructor for class org.springframework.modulith.events.jackson2.Jackson2EventSerializer
-
Deprecated.Creates a new
Jackson2EventSerializerfor the givenObjectMapper. - jackson2jsonMessageConverter(ObjectProvider<ObjectMapper>) - Method in class org.springframework.modulith.events.kafka.KafkaJackson2Configuration
- JacksonEventSerializationConfiguration - Class in org.springframework.modulith.events.jackson
-
Application configuration to register a Jackson 3-based
EventSerializer. - JacksonEventSerializationConfiguration(ObjectProvider<JsonMapper>, ApplicationContext) - Constructor for class org.springframework.modulith.events.jackson.JacksonEventSerializationConfiguration
-
Creates a new
JacksonEventSerializationConfigurationfor the givenJsonMapperandApplicationContext. - jacksonEventSerializer() - Method in class org.springframework.modulith.events.jackson.JacksonEventSerializationConfiguration
- jacksonEventSerializer() - Method in class org.springframework.modulith.events.jackson2.Jackson2EventSerializationConfiguration
-
Deprecated.
- JacksonEventSerializer - Class in org.springframework.modulith.events.jackson
-
A Jackson-based
EventSerializer. - JacksonEventSerializer(Supplier<JsonMapper>) - Constructor for class org.springframework.modulith.events.jackson.JacksonEventSerializer
-
Creates a new
JacksonEventSerializerfor the givenJsonMapper. - jacksonJsonMessageConverter(ObjectProvider<JsonMapper>) - Method in class org.springframework.modulith.events.kafka.KafkaJacksonConfiguration
- JAVA - Static variable in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
- JavaAccessSource - Class in org.springframework.modulith.core
-
A
Sourcebacked by an ArchUnitJavaAccess. - JavaAccessSource(JavaAccess<?>) - Constructor for class org.springframework.modulith.core.JavaAccessSource
-
Creates a new
JavaAccessSourcefor the givenJavaAccess. - JavaPackage - Class in org.springframework.modulith.core
-
An abstraction of a Java package.
- JavaPackages - Class in org.springframework.modulith.core
-
A collection of
JavaPackages. - JavaPackages(Collection<JavaPackage>) - Constructor for class org.springframework.modulith.core.JavaPackages
-
Creates a new
JavaPackagesinstance for the givenJavaPackages. - JavaPackages(JavaPackage...) - Constructor for class org.springframework.modulith.core.JavaPackages
-
Creates a new
JavaPackagesinstance for the givenJavaPackages. - JavaSourceChange(String) - Constructor for record class org.springframework.modulith.junit.Changes.Change.JavaSourceChange
-
Creates an instance of a
JavaSourceChangerecord class. - JavaTestSourceChange(String) - Constructor for record class org.springframework.modulith.junit.Changes.Change.JavaTestSourceChange
-
Creates an instance of a
JavaTestSourceChangerecord class. - JavaTypes() - Constructor for class org.springframework.modulith.core.Types.JavaTypes
- JavaXTypes() - Constructor for class org.springframework.modulith.core.Types.JavaXTypes
- JdbcConfigurationProperties - Class in org.springframework.modulith.events.jdbc
-
Configuration properties for JDBC.
- JdbcConfigurationProperties(JdbcConfigurationProperties.SchemaInitialization, String, Boolean) - Constructor for class org.springframework.modulith.events.jdbc.JdbcConfigurationProperties
-
Creates a new
JdbcConfigurationPropertiesinstance. - JdbcConfigurationProperties.SchemaInitialization - Class in org.springframework.modulith.events.jdbc
- JdbcEventPublicationAutoConfiguration - Class in org.springframework.modulith.events.jdbc
- JdbcEventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- JdbcEventPublicationAutoConfiguration.JdbcEventPublicationSchemaCreationAutoConfiguration - Class in org.springframework.modulith.events.jdbc
-
JDBC schema initialization auto-configuration.
- jdbcEventPublicationRepository(JdbcTemplate, EventSerializer, JdbcRepositorySettings) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- JdbcEventPublicationRepository - Class in org.springframework.modulith.events.jdbc
-
JDBC-based repository to store
TargetEventPublications. - JdbcEventPublicationRepository(JdbcOperations, EventSerializer, JdbcRepositorySettings) - Constructor for class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
-
Creates a new
JdbcEventPublicationRepositoryfor the givenJdbcOperations,EventSerializer,DatabaseTypeandJdbcConfigurationProperties. - jdbcEventPublicationRepositorySettings(DatabaseType, JdbcConfigurationProperties) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- JdbcEventPublicationRepositoryV2 - Class in org.springframework.modulith.events.jdbc
-
JDBC-based repository to store
TargetEventPublications. - JdbcEventPublicationRepositoryV2(JdbcOperations, EventSerializer, JdbcRepositorySettings) - Constructor for class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
-
Creates a new
JdbcEventPublicationRepositoryfor the givenJdbcOperations,EventSerializer,DatabaseTypeandJdbcConfigurationProperties. - JdbcEventPublicationSchemaCreationAutoConfiguration() - Constructor for class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration.JdbcEventPublicationSchemaCreationAutoConfiguration
- JdbcRepositorySettings - Class in org.springframework.modulith.events.jdbc
-
Internal abstraction of customization options for
JdbcEventPublicationRepository. - JdbcRepositorySettings(DatabaseType, CompletionMode, JdbcConfigurationProperties) - Constructor for class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
- JdbcRepositorySettings.SchemaVersion - Enum Class in org.springframework.modulith.events.jdbc
- JGitUtil - Interface in org.springframework.modulith.junit.diff
-
Utility to contain re-used JGit operations.
- JMoleculesArchitecturallyEvidentType(JavaClass) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- JMoleculesGroupings() - Constructor for class org.springframework.modulith.docs.Groupings.JMoleculesGroupings
- JMoleculesModule(ApplicationModuleInformationFactory.AnnotationLookup) - Constructor for class org.springframework.modulith.core.ApplicationModuleInformationFactory.JMoleculesModule
- JMoleculesTypes() - Constructor for class org.springframework.modulith.core.Types.JMoleculesTypes
- jmsEventExternalizer(EventExternalizationConfiguration, JmsOperations, EventSerializer, BeanFactory) - Method in class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration
- JmsEventExternalizerConfiguration - Class in org.springframework.modulith.events.jms
-
Auto-configuration to set up a
DelegatingEventExternalizerto externalize events to JMS. - JmsEventExternalizerConfiguration() - Constructor for class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration
- JmsEventExternalizerConfiguration.JmsOutboxConfiguration - Class in org.springframework.modulith.events.jms
- JmsEventExternalizerConfiguration.JmsOutboxConfiguration.JobRunrOutboxAutoConfiguration - Class in org.springframework.modulith.events.jms
- JmsEventExternalizerConfiguration.JmsOutboxConfiguration.NamastackOutboxAutoConfiguration - Class in org.springframework.modulith.events.jms
- JmsOutboxConfiguration(JmsOperations, EventSerializer, BeanFactory, OutboxEventExternalizerFactory) - Constructor for class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration.JmsOutboxConfiguration
- JobRunrEventExternalizationAutoConfiguration - Class in org.springframework.modulith.events.jobrunr
-
Auto-configuration to set up event externalization via JobRunr.
- JobRunrEventExternalizationAutoConfiguration() - Constructor for class org.springframework.modulith.events.jobrunr.JobRunrEventExternalizationAutoConfiguration
- jobRunrEventExternalizer(JobScheduler, List<JobRunrExternalizationTransport>, EventExternalizationConfiguration) - Method in class org.springframework.modulith.events.jobrunr.JobRunrEventExternalizationAutoConfiguration
- JobRunrEventExternalizer - Class in org.springframework.modulith.events.jobrunr
-
A
ConditionalEventListenerscheduling a JobRunr job to eventually externalize the received event. - JobRunrEventExternalizer(JobScheduler, List<JobRunrExternalizationTransport>, EventExternalizationConfiguration) - Constructor for class org.springframework.modulith.events.jobrunr.JobRunrEventExternalizer
-
Creates a new
JobRunrEventExternalizerfor the givenJobScheduler,JobRunrExternalizationTransports andEventExternalizationConfiguration. - JobRunrExternalizationTransport - Interface in org.springframework.modulith.events.jobrunr
-
SPI for broker implementations to eventually externalize a given event.
- jobRunrJmsOutboxExternalizer() - Method in class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration.JmsOutboxConfiguration.JobRunrOutboxAutoConfiguration
- jobRunrKafkaOutboxExternalizer() - Method in class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration.KafkaOutboxConfiguration.JobRunrOutboxAutoConfiguration
- JobRunrOutboxAutoConfiguration() - Constructor for class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration.RabbitOutboxConfiguration.JobRunrOutboxAutoConfiguration
- JobRunrOutboxAutoConfiguration() - Constructor for class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration.JmsOutboxConfiguration.JobRunrOutboxAutoConfiguration
- JobRunrOutboxAutoConfiguration() - Constructor for class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration.KafkaOutboxConfiguration.JobRunrOutboxAutoConfiguration
- JobRunrOutboxAutoConfiguration() - Constructor for class org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration.SpringMessagingOutboxConfiguration.JobRunrOutboxAutoConfiguration
- jobRunrRabbitOutboxExternalizer() - Method in class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration.RabbitOutboxConfiguration.JobRunrOutboxAutoConfiguration
- jobRunrSpringMessagingOutboxExternalizer() - Method in class org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration.SpringMessagingOutboxConfiguration.JobRunrOutboxAutoConfiguration
- JpaEventPublication - Class in org.springframework.modulith.events.jpa
-
JPA entity to represent event publications.
- JpaEventPublication() - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublication
- JpaEventPublication(UUID, Instant, String, String, Class<?>, EventPublication.Status, Instant, int) - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublication
-
Creates a new
JpaEventPublicationfor the given publication date, listener id, serialized event and event type. - JpaEventPublicationAutoConfiguration - Class in org.springframework.modulith.events.jpa
-
Auto-configuration for JPA based event publication.
- JpaEventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublicationAutoConfiguration
- JpaEventPublicationConfiguration - Class in org.springframework.modulith.events.jpa
- JpaEventPublicationConfiguration() - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublicationConfiguration
- jpaEventPublicationRepository(EntityManager, EventSerializer, Environment) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationConfiguration
- JpaEventPublicationRepository - Class in org.springframework.modulith.events.jpa
-
Repository to store
TargetEventPublications. - JpaEventPublicationRepository(EntityManager, EventSerializer, CompletionMode) - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- Json - Class in org.springframework.modulith.core.util
-
Helper to render a
Mapas JSON. - Json() - Constructor for class org.springframework.modulith.core.util.Json
- JSON_LOCATION - Static variable in class org.springframework.modulith.apt.SpringModulithProcessor
K
- kafkaEventExternalizer(EventExternalizationConfiguration, KafkaOperations<?, ?>, BeanFactory) - Method in class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration
- KafkaEventExternalizerConfiguration - Class in org.springframework.modulith.events.kafka
-
Auto-configuration to set up a
DelegatingEventExternalizerto externalize events to Kafka. - KafkaEventExternalizerConfiguration() - Constructor for class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration
- KafkaEventExternalizerConfiguration.KafkaOutboxConfiguration - Class in org.springframework.modulith.events.kafka
- KafkaEventExternalizerConfiguration.KafkaOutboxConfiguration.JobRunrOutboxAutoConfiguration - Class in org.springframework.modulith.events.kafka
- KafkaEventExternalizerConfiguration.KafkaOutboxConfiguration.NamastackOutboxAutoConfiguration - Class in org.springframework.modulith.events.kafka
- KafkaJackson2Configuration - Class in org.springframework.modulith.events.kafka
-
Auto-configures Spring for Apache Kafka to use JSON as transport format by default via Jackson 2.
- KafkaJackson2Configuration() - Constructor for class org.springframework.modulith.events.kafka.KafkaJackson2Configuration
- KafkaJacksonConfiguration - Class in org.springframework.modulith.events.kafka
-
Auto-configures Spring for Apache Kafka to use JSON as transport format by default via Jackson 3.
- KafkaJacksonConfiguration() - Constructor for class org.springframework.modulith.events.kafka.KafkaJacksonConfiguration
- KafkaOutboxConfiguration(EventExternalizationConfiguration, KafkaOperations<?, ?>, BeanFactory, OutboxEventExternalizerFactory) - Constructor for class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration.KafkaOutboxConfiguration
- keySet() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- KOTLIN - Static variable in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
- KotlinSourceChange(String) - Constructor for record class org.springframework.modulith.junit.Changes.Change.KotlinSourceChange
-
Creates an instance of a
KotlinSourceChangerecord class. - KotlinTestSourceChange(String) - Constructor for record class org.springframework.modulith.junit.Changes.Change.KotlinTestSourceChange
-
Creates an instance of a
KotlinTestSourceChangerecord class.
L
- LanguageConfig(String, String, Function<String, ? extends Changes.Change.SourceChange>, Function<String, ? extends Changes.Change.SourceChange>) - Constructor for record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
-
Creates an instance of a
LanguageConfigrecord class. - lastResubmissionDate - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- lastResubmissionDate - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- lastResubmissionDate - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- length() - Method in class org.springframework.modulith.core.PackageName
-
Returns the length of the package name.
- listenerId - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- listenerId - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- listenerId - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- loadIfPresent(String) - Static method in class org.springframework.modulith.core.Types
-
Loads the class with the given name if present on the classpath.
- loadSchema(Function<String, Resource>) - Method in class org.springframework.modulith.events.jdbc.JdbcRepositorySettings
-
Load the schema
Resources to be used. - LOCATION - Static variable in class org.springframework.modulith.core.ApplicationModuleSourceContributions
- log - Static variable in interface org.springframework.modulith.junit.diff.FileModificationDetector
- LoggingApplicationModuleInitializerAdapter - Class in org.springframework.modulith.runtime.autoconfigure
- lookup(Class<A>) - Method in interface org.springframework.modulith.core.ApplicationModuleInformationFactory.AnnotationLookup
- lookupIdentifier(JavaPackage) - Method in interface org.springframework.modulith.core.ApplicationModuleSource.ApplicationModuleSourceMetadata
-
Returns an optional
ApplicationModuleIdentifierobtained by the annotation on the given package.
M
- main(String[]) - Static method in class org.springframework.modulith.core.util.ApplicationModulesExporter
-
Simple main method to render the
ApplicationModulesinstance defined for the Java package given as first argument and an optional, second element to name a file to write the output to. - mainDir() - Method in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
-
Returns the value of the
mainDirrecord component. - mainFactory() - Method in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
-
Returns the value of the
mainFactoryrecord component. - map(Observation.Context) - Method in class org.springframework.modulith.observability.support.ModuleIdentifierPassingObservationFilter
- map(Object) - Method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
- map(Object) - Method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Map the event to be externalized before publishing it.
- mapping(Class<T>, Function<T, Object>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers a type-specific mapping function.
- mapping(Function<Object, Object>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers a new mapping
Functionreplacing the old one entirely. - MARIADB - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
- markCompleted(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- markCompleted(Object, PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Marks the publication for the given event and
PublicationTargetIdentifieras completed. - markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Marks the publication for the given event and
PublicationTargetIdentifierto be completed at the givenInstant. - markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- markCompleted(Instant) - Method in interface org.springframework.modulith.events.core.Completable
-
Marks the instance as completed at the given
Instant. - markCompleted(Instant) - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- markCompleted(Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
-
Marks the publication as completed at the given
Instant. - markCompleted(UUID, Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Marks the publication with the given identifier completed at the given
Instant. - markCompleted(UUID, Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- markCompleted(UUID, Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- markCompleted(UUID, Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- markCompleted(UUID, Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- markCompleted(UUID, Instant) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- markCompleted(TargetEventPublication, Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Marks the given
TargetEventPublicationas completed. - markFailed(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- markFailed(Object, PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Marks the publication for the given event and
PublicationTargetIdentifieras failed. - markFailed(UUID) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Marks the
EventPublicationwith the given identifier as failed. - markFailed(UUID) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- markFailed(UUID) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- markFailed(UUID) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- markFailed(UUID) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- markFailed(TargetEventPublication) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
-
Marks the given
TargetEventPublicationas failed. - markProcessing(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- markProcessing(Object, PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Marks the publication for the given event and
PublicationTargetIdentifieras processing. - markProcessing(UUID) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Marks the
EventPublicationwith the given identifier as processing. - markProcessing(UUID) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- markProcessing(UUID) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- markProcessing(UUID) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- markResubmitted(UUID, Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Marks the
EventPublicationwith the given identifier as resubmitted. - markResubmitted(UUID, Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- markResubmitted(UUID, Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- markResubmitted(UUID, Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- markResubmitted(UUID, Instant) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- markStalePublicationsFailed(Staleness) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- markStalePublicationsFailed(Staleness) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Marks all
EventPublications considered stale as failed. - match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.modulith.test.ModuleTypeExcludeFilter
- matches(JavaMethod) - Method in class org.springframework.modulith.core.EntryPoints.EntryPoint
-
Returns whether this
EntryPoints.EntryPoint's method is a module interface method overridden by the given candidate, i.e. whether thisEntryPoints.EntryPointis a suitable, preferred stand-in for it. - matches(SpringBean) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Returns whether the given
SpringBeanmatches theDocumenter.CanvasOptions.Grouping. - matching(String...) - Method in class org.springframework.modulith.core.NamedInterfaces.Builder
-
Adds all packages with the trailing name relative to the base package matching the given names or expressions, unless set up to be excluded (see
NamedInterfaces.Builder.excluding(Predicate)and overloads).. - matching(Collection<String>) - Method in class org.springframework.modulith.core.NamedInterfaces.Builder
-
Adds all packages with the trailing name relative to the base package matching the given names or expressions, unless set up to be excluded (see
NamedInterfaces.Builder.excluding(Predicate)and overloads). - matching(Function<T, S>, S) - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
-
Deprecated, for removal: This API element is subject to removal in a future version.since 2.1, use
PublishedEventsAssert.PublishedEventAssert.matchingValue(Function, Object)instead. To be removed in 2.2. - matching(Function<T, S>, Predicate<? super S>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Returns all
PublishedEvents.TypedPublishedEventsthat match the given predicate after applying the given mapping step. - matching(Function<T, S>, Predicate<? super S>) - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
- matching(Predicate<? super E>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Matches events that satisfy the given
Predicate. - matching(Predicate<? super T>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Returns all
PublishedEvents.TypedPublishedEventsthat match the given predicate. - matching(Predicate<? super T>) - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
-
Asserts that at least one event matches the given predicate.
- matchingMapped(Function<E, S>, Predicate<? super S>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
- matchingMappedValue(Function<E, S>, S) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Matches events that extracting the given value using the given
Function. - matchingValue(Function<T, S>, S) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Returns all
PublishedEvents.TypedPublishedEventsthat match the given value after applying the given mapping step. - matchingValue(Function<T, S>, S) - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
-
Asserts that at least one event exists for which the value extracted by the given
Functionmatches the given one. - md5(byte[]) - Static method in class org.springframework.modulith.events.neo4j.EventHash
-
Returns the hex-encoded MD5 digest of the given bytes.
- merge(NamedInterface) - Method in class org.springframework.modulith.core.NamedInterface
-
Merges the current
NamedInterfacewith the givenNamedInterface. - message - Variable in class org.springframework.modulith.core.Violation
- MessagingTypes() - Constructor for class org.springframework.modulith.core.Types.MessagingTypes
- MethodMetadata - Record Class in org.springframework.modulith.docs.metadata
-
Metadata about a Java
Method. - MethodMetadata(String, String, String) - Constructor for record class org.springframework.modulith.docs.metadata.MethodMetadata
-
Creates an instance of a
MethodMetadatarecord class. - methods() - Method in record class org.springframework.modulith.docs.metadata.TypeMetadata
-
Returns the value of the
methodsrecord component. - migrate(Flyway) - Method in class org.springframework.modulith.runtime.flyway.SpringModulithFlywayMigrationStrategy
- MigrationFilter - Interface in org.springframework.modulith.runtime.flyway
-
A filter to decide which Flyway migrations to execute.
- MissingRuntimeDependency - Exception in org.springframework.modulith.runtime.autoconfigure
-
An Exception carrying information about a missing runtime dependency to be analyzed by
MissingRuntimeDependencyFailureAnalyzer. - MissingRuntimeDependency(String, String) - Constructor for exception org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependency
- MissingRuntimeDependencyFailureAnalyzer - Class in org.springframework.modulith.runtime.autoconfigure
- MissingRuntimeDependencyFailureAnalyzer() - Constructor for class org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependencyFailureAnalyzer
- mode() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
- mode() - Element in annotation interface org.springframework.modulith.test.ModuleSlicing
- ModifiedFile - Record Class in org.springframework.modulith.junit.diff
-
A modified file.
- ModifiedFile(String) - Constructor for record class org.springframework.modulith.junit.diff.ModifiedFile
-
Creates an instance of a
ModifiedFilerecord class. - module() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
-
Logical name of the module to be bootstrapped in case
ApplicationModuleTestwill be used outside a module package - module() - Element in annotation interface org.springframework.modulith.test.ModuleSlicing
-
Logical name of the module to be bootstrapped in case
ApplicationModuleTestwill be used outside a module package - MODULE_ENTRY - Enum constant in enum class org.springframework.modulith.observability.ModulithObservations
-
Observation related to entering a module.
- MODULE_IDENTIFIER - Enum constant in enum class org.springframework.modulith.observability.ModulithMetrics.LowKeys
-
The identifier of the module.
- MODULE_IDENTIFIER - Enum constant in enum class org.springframework.modulith.observability.ModulithObservations.LowKeys
-
The identifier of the module.
- MODULE_LISTENER - Enum constant in enum class org.springframework.modulith.events.ExternalizationMode
-
Externalizes events via a module listener that sends events to the target after the transaction commits.
- MODULE_METHOD - Enum constant in enum class org.springframework.modulith.observability.ModulithObservations.HighKeys
-
Method executed on a module.
- MODULE_NAME - Enum constant in enum class org.springframework.modulith.observability.ModulithMetrics.LowKeys
-
Name of the module.
- MODULE_NAME - Enum constant in enum class org.springframework.modulith.observability.ModulithObservations.LowKeys
-
Name of the module.
- ModuleContextCustomizer(Class<?>) - Constructor for class org.springframework.modulith.test.ModuleContextCustomizerFactory.ModuleContextCustomizer
- ModuleContextCustomizerFactory - Class in org.springframework.modulith.test
- ModuleContextCustomizerFactory() - Constructor for class org.springframework.modulith.test.ModuleContextCustomizerFactory
- ModuleContextCustomizerFactory.ModuleContextCustomizer - Class in org.springframework.modulith.test
- ModuleEntryInterceptor - Class in org.springframework.modulith.observability.support
-
MethodInterceptorto createObservations. - ModuleEventCounterFactory - Class in org.springframework.modulith.observability.support
-
A factory to create
Counter.Builderinstances forCounters eventually. - ModuleEventCounterFactory() - Constructor for class org.springframework.modulith.observability.support.ModuleEventCounterFactory
- ModuleEventListener - Class in org.springframework.modulith.observability.support
- ModuleEventListener(ApplicationModulesRuntime, Supplier<MeterRegistry>, ModuleEventCounterFactory) - Constructor for class org.springframework.modulith.observability.support.ModuleEventListener
- ModuleIdentifierPassingObservationFilter - Class in org.springframework.modulith.observability.support
-
Ensures that
ModulithObservations.LowKeys.MODULE_IDENTIFIERgets propagated from parent to child. - ModuleIdentifierPassingObservationFilter() - Constructor for class org.springframework.modulith.observability.support.ModuleIdentifierPassingObservationFilter
- ModuleObservabilityAutoConfiguration - Class in org.springframework.modulith.observability.autoconfigure
- ModuleObservabilityAutoConfiguration() - Constructor for class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- ModuleObservabilityBeanPostProcessor - Class in org.springframework.modulith.observability.support
-
A
BeanPostProcessorthat decorates beans exposed by application modules with an interceptor that registers module entry and exit to create tracing spans for those invocations. - ModuleObservabilityBeanPostProcessor(ApplicationModulesRuntime, Supplier<ObservationRegistry>, Supplier<ModulithObservationConvention>, ConfigurableListableBeanFactory, Environment) - Constructor for class org.springframework.modulith.observability.support.ModuleObservabilityBeanPostProcessor
-
Creates a new
ModuleObservabilityBeanPostProcessorfor the givenApplicationModulesRuntimeandObservationRegistry. - ModuleObservabilityBeanPostProcessor.ApplicationModuleObservingAdvisor - Class in org.springframework.modulith.observability.support
- ModuleObservabilitySupport - Class in org.springframework.modulith.observability.support
- ModuleObservabilitySupport() - Constructor for class org.springframework.modulith.observability.support.ModuleObservabilitySupport
- modulePassingObservationFilter() - Method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- ModuleProperty(String, String, String, JavaType, String) - Constructor for record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Creates an instance of a
ModulePropertyrecord class. - ModuleSlicing - Annotation Interface in org.springframework.modulith.test
-
Foundation for tests that would want to bootstrap tests slicing the application per application module.
- modulesRuntime(SpringModulithRuntimeAutoConfiguration.ApplicationModulesBootstrap, ApplicationRuntime) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ModuleTestAutoConfiguration - Class in org.springframework.modulith.test
-
An unconditional auto-configuration registering an
ImportBeanDefinitionRegistrarto customize both the entity scan and auto-configuration packages to the packages defined by theModuleTestExecutionin the application context. - ModuleTestAutoConfiguration() - Constructor for class org.springframework.modulith.test.ModuleTestAutoConfiguration
- ModuleTestAutoConfiguration.AutoConfigurationAndEntityScanPackageCustomizer - Class in org.springframework.modulith.test
- ModuleTestExecution - Class in org.springframework.modulith.test
- moduleTracingBeanPostProcessor(ApplicationModulesRuntime, ObjectProvider<ObservationRegistry>, ObjectProvider<ModulithObservationConvention>, ConfigurableListableBeanFactory, Environment) - Static method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- ModuleTypeExcludeFilter - Class in org.springframework.modulith.test
-
A
TypeExcludeFilterthat only selects types included in aModuleTestExecution, i.e. from the modules included in a particular test run. - ModuleTypeExcludeFilter(Class<?>) - Constructor for class org.springframework.modulith.test.ModuleTypeExcludeFilter
- Modulith - Annotation Interface in org.springframework.modulith
-
Defines a Spring Boot application to follow the Modulith structuring conventions.
- MODULITH_ROUTING_HEADER - Static variable in class org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration
- ModulithContext - Class in org.springframework.modulith.observability
-
A
Observation.Contextfor Modulithic applications. - ModulithContext(ObservedModule, MethodInvocation, Environment) - Constructor for class org.springframework.modulith.observability.ModulithContext
- ModulithDatabaseInitializerDetector - Class in org.springframework.modulith.events.jdbc
-
A
DatabaseInitializerDetectorthat makes sure the Spring Modulith schema initialization runs after Boot's default file-based schema initialization. - ModulithDatabaseInitializerDetector() - Constructor for class org.springframework.modulith.events.jdbc.ModulithDatabaseInitializerDetector
- modulithEventCounterFactory(ObjectProvider<ModulithEventMetricsCustomizer>) - Method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- ModulithEventMetrics - Interface in org.springframework.modulith.observability
-
SPI to customize the
Counterinstances created for cross-module application events. - ModulithEventMetricsCustomizer - Interface in org.springframework.modulith.observability
-
Allows customizing the metrics creation, in particular the counters created for cross-application-module events.
- ModulithExecutionCondition - Class in org.springframework.modulith.junit
-
JUnit Extension to optimize test execution based on which files have changed in a Spring Modulith project.
- ModulithExecutionCondition() - Constructor for class org.springframework.modulith.junit.ModulithExecutionCondition
- Modulithic - Annotation Interface in org.springframework.modulith
-
Defines a Spring Boot application to follow the Modulith structuring conventions.
- ModulithJobRunrSqlStorageProviderAutoConfiguration - Class in org.springframework.modulith.events.jobrunr
-
Copy of
JobRunrSqlStorageAutoConfigurationto make sure theSqlStorageProviderproperly participates in Spring-managed transactions. - ModulithJobRunrSqlStorageProviderAutoConfiguration() - Constructor for class org.springframework.modulith.events.jobrunr.ModulithJobRunrSqlStorageProviderAutoConfiguration
- ModulithMetadata - Interface in org.springframework.modulith.core
-
Core metadata about the modulithic application.
- ModulithMetrics - Enum Class in org.springframework.modulith.observability
- ModulithMetrics.LowKeys - Enum Class in org.springframework.modulith.observability
- ModulithObservationConvention - Interface in org.springframework.modulith.observability
-
ObservationConventionforModulithContext. - ModulithObservations - Enum Class in org.springframework.modulith.observability
- ModulithObservations.HighKeys - Enum Class in org.springframework.modulith.observability
- ModulithObservations.LowKeys - Enum Class in org.springframework.modulith.observability
- modulithsApplicationRuntime(ApplicationContext) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- moments(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
- Moments - Class in org.springframework.modulith.moments.support
-
Core component to publish passage-of-time events.
- Moments(Clock, ApplicationEventPublisher, MomentsProperties) - Constructor for class org.springframework.modulith.moments.support.Moments
- MomentsAutoConfiguration - Class in org.springframework.modulith.moments.autoconfigure
-
Auto-configuration for
Moments. - MomentsAutoConfiguration() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
- MomentsJacksonAutoConfiguration - Class in org.springframework.modulith.moments.autoconfigure
-
Autoconfiguration for Jackson to properly (de)serialize Moments events.
- MomentsJacksonAutoConfiguration() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration
- MomentsJacksonAutoConfiguration.MomentsJacksonModule - Class in org.springframework.modulith.moments.autoconfigure
- MomentsJacksonAutoConfiguration.MomentsJacksonModule.DayHasPassedMixin - Class in org.springframework.modulith.moments.autoconfigure
- MomentsJacksonAutoConfiguration.MomentsJacksonModule.HourHasPassedMixin - Class in org.springframework.modulith.moments.autoconfigure
- MomentsJacksonAutoConfiguration.MomentsJacksonModule.MonthHasPassedMixin - Class in org.springframework.modulith.moments.autoconfigure
- MomentsJacksonAutoConfiguration.MomentsJacksonModule.QuarterHasPassedMixin - Class in org.springframework.modulith.moments.autoconfigure
- MomentsJacksonAutoConfiguration.MomentsJacksonModule.ShiftedQuarterMixin - Class in org.springframework.modulith.moments.autoconfigure
- MomentsJacksonAutoConfiguration.MomentsJacksonModule.WeekHasPassedMixin - Class in org.springframework.modulith.moments.autoconfigure
- MomentsJacksonAutoConfiguration.MomentsJacksonModule.YearHasPassedMixin - Class in org.springframework.modulith.moments.autoconfigure
- momentsJacksonModule() - Method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration
- MomentsJacksonModule() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule
- MomentsProperties - Class in org.springframework.modulith.moments.support
-
Configuration properties for
Moments. - MomentsProperties.Granularity - Enum Class in org.springframework.modulith.moments.support
-
The granularity of events to publish.
- MongoDbEventPublication - Class in org.springframework.modulith.events.mongodb
-
A MongoDB Document to represent event publications.
- MongoDbEventPublication(UUID, Instant, String, Object, Instant, EventPublication.Status, Instant, int) - Constructor for class org.springframework.modulith.events.mongodb.MongoDbEventPublication
-
Creates a new
MongoDbEventPublicationfor the given id, publication date, listener id, event and completion date. - MongoDbEventPublicationAutoConfiguration - Class in org.springframework.modulith.events.mongodb
-
Autoconfiguration for MongoDB event publication repository.
- MongoDbEventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.mongodb.MongoDbEventPublicationAutoConfiguration
- mongoDbEventPublicationRepository(MongoTemplate, Environment) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationAutoConfiguration
- MongoDbEventPublicationRepository - Class in org.springframework.modulith.events.mongodb
-
Repository to store
TargetEventPublications in a MongoDB. - MongoDbEventPublicationRepository(MongoTemplate, CompletionMode) - Constructor for class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
-
Creates a new
MongoDbEventPublicationRepositoryfor the givenMongoTemplate. - MongoDbEventPublicationRepository.IdOnly - Record Class in org.springframework.modulith.events.mongodb
- MongoDbTransactionAutoConfiguration - Class in org.springframework.modulith.events.mongodb
-
Auto-configuration to enable MongoDB transaction management as that is required for the
EventPublicationRegistryto work properly. - MongoDbTransactionAutoConfiguration() - Constructor for class org.springframework.modulith.events.mongodb.MongoDbTransactionAutoConfiguration
- monitorStaleness() - Method in class org.springframework.modulith.events.config.StalenessProperties
- MonthHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEventpublished on the last day of the month. - MonthHasPassedMixin() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.MonthHasPassedMixin
- MSSQL - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
- multicastEvent(ApplicationEvent) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- multicastEvent(ApplicationEvent, ResolvableType) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- MYSQL - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
N
- namastackJmsOutboxExternalizer() - Method in class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration.JmsOutboxConfiguration.NamastackOutboxAutoConfiguration
- namastackKafkaOutboxExternalizer() - Method in class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration.KafkaOutboxConfiguration.NamastackOutboxAutoConfiguration
- NamastackOutboxAutoConfiguration() - Constructor for class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration.RabbitOutboxConfiguration.NamastackOutboxAutoConfiguration
- NamastackOutboxAutoConfiguration() - Constructor for class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration.JmsOutboxConfiguration.NamastackOutboxAutoConfiguration
- NamastackOutboxAutoConfiguration() - Constructor for class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration.KafkaOutboxConfiguration.NamastackOutboxAutoConfiguration
- NamastackOutboxAutoConfiguration() - Constructor for class org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration.SpringMessagingOutboxConfiguration.NamastackOutboxAutoConfiguration
- NamastackOutboxEventRecorder - Class in org.springframework.modulith.events.namastack
-
An
ApplicationListenerthat listens to allPayloadApplicationEvents and schedules externalized events to anOutboxfor later processing. - NamastackOutboxEventRecorder(EventExternalizationConfiguration, Outbox) - Constructor for class org.springframework.modulith.events.namastack.NamastackOutboxEventRecorder
-
Creates a new
NamastackOutboxEventRecorderfor the givenEventExternalizationConfigurationandOutbox. - NamastackOutboxEventRecorderAutoConfiguration - Class in org.springframework.modulith.events.namastack
-
Auto-configuration to set up an
NamastackOutboxEventRecorderto externalize events via the outbox. - NamastackOutboxEventRecorderAutoConfiguration() - Constructor for class org.springframework.modulith.events.namastack.NamastackOutboxEventRecorderAutoConfiguration
- NamastackOutboxModeValidationConfiguration - Class in org.springframework.modulith.events.namastack
-
Validation configuration that fails fast if externalization mode is set to
outboxbut Namastack Outbox is not on the classpath. - NamastackOutboxModeValidationConfiguration() - Constructor for class org.springframework.modulith.events.namastack.NamastackOutboxModeValidationConfiguration
- NamastackOutboxMulticasterDisabler - Class in org.springframework.modulith.events.namastack
-
An
EnvironmentPostProcessorthat disables the Namastack multicaster if present on the classpath to make sure it doesn't interfere with the Spring Modulith one. - NamastackOutboxMulticasterDisabler() - Constructor for class org.springframework.modulith.events.namastack.NamastackOutboxMulticasterDisabler
- namastackRabbitOutboxExternalizer() - Method in class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration.RabbitOutboxConfiguration.NamastackOutboxAutoConfiguration
- namastackSpringMessagingOutboxExternalizer() - Method in class org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration.SpringMessagingOutboxConfiguration.NamastackOutboxAutoConfiguration
- name() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
namerecord component. - name() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
namerecord component. - name() - Method in record class org.springframework.modulith.docs.metadata.MethodMetadata
-
Returns the value of the
namerecord component. - name() - Method in record class org.springframework.modulith.docs.metadata.TypeMetadata
-
Returns the value of the
namerecord component. - name() - Element in annotation interface org.springframework.modulith.NamedInterface
-
The name(s) of the named interface.
- nameContainsOrMatches(String) - Method in class org.springframework.modulith.core.PackageName
-
Returns whether the package name contains a segment with the given candidate or matches the given expression entirely.
- NamedInterface - Class in org.springframework.modulith.core
-
A named interface into an
ApplicationModule. - NamedInterface - Annotation Interface in org.springframework.modulith
-
Annotation to mark a package as named interface of a
ApplicationModuleor assign a type to a named interface. - NamedInterfaces - Class in org.springframework.modulith.core
-
A collection of
NamedInterfaces. - NamedInterfaces.Builder - Class in org.springframework.modulith.core
-
A builder API to manually construct
NamedInterfacesinstances. - nameMatching(String) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Helper method to create a
PredicateforSpringBeans matching the given name pattern. - Neo4jEventPublication - Class in org.springframework.modulith.events.neo4j
-
The event publication entity definition.
- Neo4jEventPublication(UUID, Instant, String, Object, String, Instant, EventPublication.Status, int, Instant) - Constructor for class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- Neo4jEventPublicationAutoConfiguration - Class in org.springframework.modulith.events.neo4j
-
Auto-configuration to register a
Neo4jEventPublicationRepository, a defaultConfigurationand aNeo4jIndexInitializerif enabled. - Neo4jEventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.neo4j.Neo4jEventPublicationAutoConfiguration
- neo4jEventPublicationRepository(Neo4jClient, Configuration, EventSerializer, Environment) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationAutoConfiguration
- Neo4jEventPublicationRepository - Class in org.springframework.modulith.events.neo4j
-
A
Neo4jClientbased implementation ofEventPublicationRepository. - Neo4jEventPublicationRepository(Neo4jClient, Configuration, EventSerializer, CompletionMode) - Constructor for class org.springframework.modulith.events.neo4j.Neo4jEventPublicationRepository
- neo4jIndexInitializer(Neo4jClient) - Method in class org.springframework.modulith.events.neo4j.Neo4jEventPublicationAutoConfiguration
- Neo4jIndexInitializer - Class in org.springframework.modulith.events.neo4j
-
Automatically creates an index on the
Neo4jEventPublication.eventHashfield. - Neo4jIndexInitializer(Neo4jClient) - Constructor for class org.springframework.modulith.events.neo4j.Neo4jIndexInitializer
- next() - Method in enum class org.springframework.modulith.moments.Quarter
-
Returns the next logical
Quarter. - next() - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns the next
ShiftedQuarter. - NONE - Enum constant in enum class org.springframework.modulith.core.DependencyDepth
- NONE - Static variable in class org.springframework.modulith.core.ApplicationModuleDependencies
- NONE - Static variable in class org.springframework.modulith.core.Classes
- NONE - Static variable in class org.springframework.modulith.core.JavaPackages
- NONE - Static variable in class org.springframework.modulith.core.NamedInterfaces
- NONE - Static variable in exception org.springframework.modulith.core.Violations
- NONE - Static variable in class org.springframework.modulith.junit.Changes
- now() - Method in class org.springframework.modulith.moments.support.Moments
- now() - Method in interface org.springframework.modulith.moments.support.Now
-
Returns the current point in time.
- now() - Method in class org.springframework.modulith.moments.support.TimeMachine
- Now - Interface in org.springframework.modulith.moments.support
-
An abstraction of the current point in time and today.
O
- ObservedModule - Interface in org.springframework.modulith.observability
-
Information about observed module.
- ObservedModuleEvent - Class in org.springframework.modulith.observability.support
-
An observed event associated with the
ApplicationModuleit originates from. - ObservedModuleEvent(ApplicationModuleIdentifier, Object) - Constructor for class org.springframework.modulith.observability.support.ObservedModuleEvent
-
Creates a new
ObservedModuleEventfor the givenApplicationModuleIdentifierand event. - ObservedModuleType - Class in org.springframework.modulith.observability
-
Represents a type in an
ObservedModule. - ObservedModuleType(ApplicationModules, ObservedModule, ArchitecturallyEvidentType) - Constructor for class org.springframework.modulith.observability.ObservedModuleType
-
Creates a new
ObservedModuleTypefor the givenApplicationModules,ObservedModuleandArchitecturallyEvidentType. - of(int) - Static method in class org.springframework.modulith.moments.YearHasPassed
-
Creates a new
YearHasPassedevent for the given year. - of(JavaClass) - Static method in class org.springframework.modulith.core.FormattableType
-
Creates a new
FormattableTypefor the givenJavaClass. - of(JavaClasses) - Static method in class org.springframework.modulith.core.Classes
-
Creates a new
Classesfor the givenJavaClasses. - of(JavaClass, List<ArchitecturallyEvidentType>) - Static method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- of(JavaClass, ApplicationModule) - Static method in class org.springframework.modulith.core.SpringBean
- of(JavaClass, Classes) - Static method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- of(Class<?>) - Static method in class org.springframework.modulith.core.AnnotationModulithMetadata
-
Creates a
ModulithMetadatainspectingModulithicannotation or returnOptional.empty()if the type given does not carry the annotation. - of(Class<?>) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModulesrelative to the given modulith type. - of(Class<?>) - Method in interface org.springframework.modulith.core.ApplicationModulesFactory
-
Returns the
ApplicationModulesinstance for the given application class. - of(Class<?>) - Static method in class org.springframework.modulith.core.FormattableType
-
Creates a new
FormattableTypefor the givenClass. - of(Class<?>) - Static method in interface org.springframework.modulith.core.ModulithMetadata
-
Creates a new
ModulithMetadatafor the given annotated type. - of(Class<?>) - Static method in class org.springframework.modulith.core.SpringBootModulithMetadata
-
Creates a new
ModulithMetadatarepresenting the defaults of a class annotated withSpringBootApplicationbut not customized withModulithicorModulith. - of(Class<?>) - Static method in class org.springframework.modulith.events.AnnotationTargetLookup
-
Returns the
AnnotationTargetLookupfor the given type. - of(Class<?>) - Static method in class org.springframework.modulith.test.ModuleTestExecution
- of(Class<?>) - Method in class org.springframework.modulith.test.TestApplicationModules.Factory
- of(Class<?>) - Static method in class org.springframework.modulith.test.TestApplicationModules
-
Creates an
ApplicationModulesinstance from the given application class but only inspecting the test code. - of(Class<?>, DescribedPredicate<? super JavaClass>) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModulesrelative to the given modulith type, and aDescribedPredicatewhich types and packages to ignore. - of(Class<?>, ImportOption) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModulesinstance for the given type andImportOption. - of(Object...) - Static method in interface org.springframework.modulith.test.PublishedEvents
-
Creates a new
PublishedEventsinstance for the given events. - of(Object, PublicationTargetIdentifier) - Static method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Creates a
TargetEventPublicationfor the given event an listener identifier using a defaultInstant. - of(Object, PublicationTargetIdentifier, Instant) - Static method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Creates a
TargetEventPublicationfor the given event an listener identifier and publication date. - of(String) - Static method in class org.springframework.modulith.core.ApplicationModuleIdentifier
-
Returns the
ApplicationModuleIdentifierfor the given sourceString. - of(String) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModulesinstance for the given package name. - of(String) - Static method in interface org.springframework.modulith.core.ModulithMetadata
-
Creates a new
ModulithMetadatainstance for the given package. - of(String) - Static method in class org.springframework.modulith.core.PackageName
-
Returns the
PackageNamewith the given name. - of(String) - Static method in class org.springframework.modulith.core.SpringBootModulithMetadata
-
Creates a new
ModulithMetadatafrom the given package name. - of(String) - Static method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
-
Returns the
PublicationTargetIdentifierfor the given value. - of(String) - Static method in class org.springframework.modulith.test.TestApplicationModules
-
Creates an
ApplicationModulesinstance from the given package but only inspecting the test code. - of(String[]) - Static method in class org.springframework.modulith.core.PackageName
-
Returns the
PackageNamefor the given segments. - of(String...) - Static method in record class org.springframework.modulith.junit.diff.ModifiedFile
- of(String, DescribedPredicate<JavaClass>) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModulesinstance for the given package name and ignored classes. - of(String, ImportOption) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModulesinstance for the given package andImportOption. - of(String, Predicate<SpringBean>) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Creates a
Documenter.CanvasOptions.Groupingwith the given name and selectingPredicate. - of(String, Predicate<SpringBean>, String) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Creates a
Documenter.CanvasOptions.Groupingwith the given name, selectingPredicateand description. - of(String, ApplicationModule, ApplicationModules) - Static method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
-
Creates an
ApplicationModule.AllowedDependencyto the module and optionally named interface defined by the given identifier. - of(String, Classes) - Static method in class org.springframework.modulith.core.NamedInterface
- of(LocalDate) - Static method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.DayHasPassedMixin
- of(LocalDate) - Static method in class org.springframework.modulith.moments.DayHasPassed
-
Creates a new
DayHasPassedfor the givenLocalDate. - of(LocalDateTime) - Static method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.HourHasPassedMixin
- of(LocalDateTime) - Static method in class org.springframework.modulith.moments.HourHasPassed
-
Creates a new
HourHasPassedfor the givenLocalDateTime. - of(Year) - Static method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.YearHasPassedMixin
- of(Year) - Static method in class org.springframework.modulith.moments.YearHasPassed
-
Creates a new
YearHasPassedfor the givenYear. - of(YearMonth) - Static method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.MonthHasPassedMixin
- of(YearMonth) - Static method in class org.springframework.modulith.moments.MonthHasPassed
-
Creates a new
MonthHasPassedfor the givenYearMonth. - of(Year, int) - Static method in class org.springframework.modulith.moments.WeekHasPassed
-
Creates a new
WeekHasPassedfor the givenYearand week of the year. - of(Year, int, Locale) - Static method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.WeekHasPassedMixin
- of(Year, int, Locale) - Static method in class org.springframework.modulith.moments.WeekHasPassed
- of(Year, Quarter) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
- of(Year, Quarter, Month) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
- of(Year, ShiftedQuarter) - Static method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.QuarterHasPassedMixin
- of(Year, ShiftedQuarter) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
- of(Collection<? extends Object>) - Static method in interface org.springframework.modulith.test.PublishedEvents
-
Creates a new
PublishedEventsinstance for the given events. - of(List<JavaClass>) - Static method in class org.springframework.modulith.core.Classes
-
Creates a new
Classesfor the givenJavaClasses. - of(List<ApplicationModuleDependency>) - Static method in class org.springframework.modulith.core.ApplicationModuleDependencies
- of(List<ApplicationModuleIdentifier>) - Static method in class org.springframework.modulith.core.ApplicationModuleIdentifiers
-
Creates a new
ApplicationModuleIdentifiersfor the given source identifiers. - of(List<NamedInterface>) - Static method in class org.springframework.modulith.core.NamedInterfaces
-
Creates a new
NamedInterfacesfor the givenNamedInterfaces. - of(Map<String, Object>) - Static method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
- of(Stream<ModifiedFile>, Changes.OnNoChange) - Static method in class org.springframework.modulith.junit.Changes
-
Creates a new
Changesinstance from the givenModifiedFiles. - of(UUID, Instant, String, String, Class<?>, EventPublication.Status, Instant, int) - Static method in class org.springframework.modulith.events.jpa.JpaEventPublication
- of(ApplicationContext) - Static method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Creates a new
ApplicationRuntimefor the givenApplicationContext. - of(Resource) - Static method in class org.springframework.modulith.runtime.autoconfigure.ApplicationModuleMetadata
-
Creates a new
ApplicationModuleMetadatafor the givenResource. - of(ResolvableType) - Static method in class org.springframework.modulith.core.FormattableType
-
Creates a new
FormattableTypefor the givenResolvableType. - of(ApplicationModuleInitializer) - Static method in class org.springframework.modulith.runtime.autoconfigure.LoggingApplicationModuleInitializerAdapter
- of(ApplicationModuleInitializer, ApplicationModules) - Static method in class org.springframework.modulith.runtime.autoconfigure.LoggingApplicationModuleInitializerAdapter
- of(ApplicationModule) - Static method in class org.springframework.modulith.core.EntryPoints
-
Calculates the
EntryPointsof the givenApplicationModule. - of(ApplicationModuleDetectionStrategy, boolean) - Static method in class org.springframework.modulith.core.ApplicationModuleSourceContributions
-
Creates a new
ApplicationModuleSourceContributionsfor the given defaultApplicationModuleDetectionStrategyand whether to use fully-qualified module names. - of(ApplicationModules) - Static method in class org.springframework.modulith.core.ApplicationModuleIdentifiers
-
Creates a new
ApplicationModuleIdentifiersfrom the given ApplicationModules. - of(Classes, String) - Static method in class org.springframework.modulith.core.JavaPackage
-
Creates a new
JavaPackagefor the given classes and name. - of(JavaPackage) - Static method in interface org.springframework.modulith.core.ApplicationModuleInformation
-
Creates a new
ApplicationModuleInformationfor the givenJavaPackage. - of(JavaPackage) - Static method in class org.springframework.modulith.core.ApplicationModuleInformationFactory
-
Creates a new
ApplicationModuleInformationfor the givenJavaPackage. - of(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterface
-
Returns all
NamedInterfaces for the givenJavaPackage. - of(JavaPackage, Predicate<JavaClass>) - Static method in interface org.springframework.modulith.core.ApplicationModuleInformationFactory.AnnotationLookup
- of(JavaPackage, ApplicationModuleInformation) - Static method in class org.springframework.modulith.core.NamedInterfaces
- of(RoutingTarget, EvaluationContext) - Static method in class org.springframework.modulith.events.support.BrokerRouting
- of(FileModificationDetector) - Static method in class org.springframework.modulith.junit.diff.WorkingDirectoryChangesDetector
-
Creates a new
WorkingDirectoryChangesDetectorfor the current Git repository-relative working directory. - of(ModifiedFile) - Static method in interface org.springframework.modulith.junit.Changes.Change
-
Creates a change from a modified file
- of(Quarter) - Static method in class org.springframework.modulith.moments.ShiftedQuarter
- of(Quarter, Month) - Static method in class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.ShiftedQuarterMixin
- of(Quarter, Month) - Static method in class org.springframework.modulith.moments.ShiftedQuarter
- of(ObservedModule, ObservationRegistry, ModulithObservationConvention, Environment) - Static method in class org.springframework.modulith.observability.support.ModuleEntryInterceptor
- ofAnnotatedPackages(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterfaces
-
Creates a new
NamedInterfacesfor the given baseJavaPackage. - ofApplicationModules(Supplier<ApplicationModules>) - Static method in class org.springframework.modulith.actuator.ApplicationModulesEndpoint
-
Creates a new
ApplicationModulesEndpointfor the given lazily initializedApplicationModules. - ofSubType(Class<S>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Further constrain the event type for downstream assertions.
- ofType(Class<?>) - Static method in class org.springframework.modulith.core.PackageName
-
Creates a new
PackageNamefor the given type. - ofType(Class<S>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
- ofType(Class<T>) - Method in class org.springframework.modulith.test.DefaultAssertablePublishedEvents
- ofType(Class<T>) - Method in class org.springframework.modulith.test.DefaultPublishedEvents
- ofType(Class<T>) - Method in interface org.springframework.modulith.test.PublishedEvents
- ofType(Class<T>) - Method in interface org.springframework.modulith.test.TypedEvents
-
Returns all events of the given type.
- ofType(String) - Static method in class org.springframework.modulith.core.PackageName
-
Creates a new
PackageNamefor the given fully-qualified type name. - onApplicationEvent(ApplicationEvent) - Method in class org.springframework.modulith.observability.support.ModuleEventListener
- onApplicationEvent(ApplicationEvent) - Method in class org.springframework.modulith.test.DefaultAssertablePublishedEvents
- onApplicationEvent(ApplicationEvent) - Method in class org.springframework.modulith.test.DefaultPublishedEvents
- onApplicationEvent(PayloadApplicationEvent<?>) - Method in class org.springframework.modulith.events.jobrunr.JobRunrEventExternalizer
- onApplicationEvent(PayloadApplicationEvent<?>) - Method in class org.springframework.modulith.events.namastack.NamastackOutboxEventRecorder
-
Handles incoming application events by checking if they should be externalized and scheduling them to the outbox within the current transaction.
- onlySubPackagesExcept(Collection<JavaPackage>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all sub-packages of the current one, except the given ones.
- open() - Static method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
- open(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterface
-
Returns an unnamed interface for the given package applying open module semantics, i.e. including all sub-packages of the given one.
- OPEN - Enum constant in enum class org.springframework.modulith.ApplicationModule.Type
-
An open application module does not hide its internals, which means that access to those from other modules is not sanctioned.
- OPEN_TOKEN - Static variable in annotation interface org.springframework.modulith.ApplicationModule
- ORACLE - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
- org.springframework.modulith - package org.springframework.modulith
-
Core abstractions of Spring Modulith.
- org.springframework.modulith.actuator - package org.springframework.modulith.actuator
-
Spring Boot actuator support for Spring Modulith.
- org.springframework.modulith.actuator.autoconfigure - package org.springframework.modulith.actuator.autoconfigure
-
Autoconfiguration for Spring Modulith actuators.
- org.springframework.modulith.apt - package org.springframework.modulith.apt
-
An annotation processor to extract Javadoc from application code for inclusion in generated architecture documentation.
- org.springframework.modulith.core - package org.springframework.modulith.core
-
Core, internal abstractions of Spring Modulith.
- org.springframework.modulith.core.config - package org.springframework.modulith.core.config
-
Core configuration abstractions of Spring Modulith.
- org.springframework.modulith.core.util - package org.springframework.modulith.core.util
-
Utilities.
- org.springframework.modulith.docs - package org.springframework.modulith.docs
-
Documentation support for Spring Modulith.
- org.springframework.modulith.docs.metadata - package org.springframework.modulith.docs.metadata
-
Method and type documentation metadata.
- org.springframework.modulith.docs.util - package org.springframework.modulith.docs.util
-
General utilities for the context of documentation generation.
- org.springframework.modulith.events - package org.springframework.modulith.events
-
API of the event publication registry abstraction.
- org.springframework.modulith.events.amqp - package org.springframework.modulith.events.amqp
-
AMQP event externalization support.
- org.springframework.modulith.events.aot - package org.springframework.modulith.events.aot
-
AOT support for the Event Publication Registry.
- org.springframework.modulith.events.config - package org.springframework.modulith.events.config
-
Spring configuration for the Event Publication Registry.
- org.springframework.modulith.events.core - package org.springframework.modulith.events.core
-
The event publication registry abstraction.
- org.springframework.modulith.events.jackson - package org.springframework.modulith.events.jackson
-
A Jackson 3-based implementation of the
EventSerializer. - org.springframework.modulith.events.jackson2 - package org.springframework.modulith.events.jackson2
-
A Jackson-based implementation of the
EventSerializer. - org.springframework.modulith.events.jdbc - package org.springframework.modulith.events.jdbc
-
JDBC integration for
EventPublicationRepository. - org.springframework.modulith.events.jms - package org.springframework.modulith.events.jms
-
JMS event externalization support.
- org.springframework.modulith.events.jobrunr - package org.springframework.modulith.events.jobrunr
- org.springframework.modulith.events.jpa - package org.springframework.modulith.events.jpa
-
JPA integration for
EventPublicationRepository. - org.springframework.modulith.events.jpa.archiving - package org.springframework.modulith.events.jpa.archiving
-
JPA integration for
EventPublicationRepository. - org.springframework.modulith.events.jpa.updating - package org.springframework.modulith.events.jpa.updating
-
JPA integration for
EventPublicationRepository. - org.springframework.modulith.events.kafka - package org.springframework.modulith.events.kafka
-
Kafka event externalization support.
- org.springframework.modulith.events.messaging - package org.springframework.modulith.events.messaging
-
Messaging event externalization support.
- org.springframework.modulith.events.mongodb - package org.springframework.modulith.events.mongodb
-
MongoDB integration for
EventPublicationRepository. - org.springframework.modulith.events.namastack - package org.springframework.modulith.events.namastack
-
Namastack outbox event externalization support.
- org.springframework.modulith.events.neo4j - package org.springframework.modulith.events.neo4j
-
Neo4j integration for
EventPublicationRepository. - org.springframework.modulith.events.support - package org.springframework.modulith.events.support
-
Spring Framework extensions to integrate the event publication registry.
- org.springframework.modulith.junit - package org.springframework.modulith.junit
-
JUnit extension to optimize test case execution depending of the changes made to an application.
- org.springframework.modulith.junit.diff - package org.springframework.modulith.junit.diff
-
Project differences detection implementation.
- org.springframework.modulith.moments - package org.springframework.modulith.moments
-
An Passage-of-Time events implementation.
- org.springframework.modulith.moments.autoconfigure - package org.springframework.modulith.moments.autoconfigure
-
Autoconfiguration for the
MomentsAPI. - org.springframework.modulith.moments.support - package org.springframework.modulith.moments.support
-
The
Momentsabstraction to integrate with Spring Framework's scheduling. - org.springframework.modulith.observability - package org.springframework.modulith.observability
-
Support for application module observability.
- org.springframework.modulith.observability.autoconfigure - package org.springframework.modulith.observability.autoconfigure
-
Autoconfiguration for the observability integration.
- org.springframework.modulith.observability.support - package org.springframework.modulith.observability.support
-
Support for application module observability.
- org.springframework.modulith.runtime - package org.springframework.modulith.runtime
-
Support to run
ApplicationModulesat application runtime. - org.springframework.modulith.runtime.autoconfigure - package org.springframework.modulith.runtime.autoconfigure
-
Autoconfiguration the
ApplicationModulesruntime support. - org.springframework.modulith.runtime.flyway - package org.springframework.modulith.runtime.flyway
-
Support for application module aware Flyway migrations.
- org.springframework.modulith.test - package org.springframework.modulith.test
-
Integration test support for Spring Modulith
ApplicationModules. - OtherFileChange(String) - Constructor for record class org.springframework.modulith.junit.Changes.Change.OtherFileChange
-
Creates an instance of a
OtherFileChangerecord class. - OUTBOX - Enum constant in enum class org.springframework.modulith.events.ExternalizationMode
-
Externalizes events via the outbox pattern.
- OutboxEventExternalizer - Class in org.springframework.modulith.events.support
-
An
OutboxEventExternalizerthat transports events from the outbox to an external target. - OutboxEventExternalizer(EventExternalizationConfiguration, ApplicationEventPublisher, EventExternalizationTransport) - Constructor for class org.springframework.modulith.events.support.OutboxEventExternalizer
-
Creates a new
OutboxEventExternalizerfor the givenEventExternalizationConfigurationand transport function. - outboxEventExternalizerFactory(EventExternalizationConfiguration, ApplicationEventPublisher) - Static method in class org.springframework.modulith.events.config.EventExternalizationAutoConfiguration
- OutboxEventExternalizerFactory - Class in org.springframework.modulith.events.support
-
A factory to create
OutboxEventExternalizerforEventExternalizationTransports. - OutboxEventExternalizerFactory(EventExternalizationConfiguration, ApplicationEventPublisher) - Constructor for class org.springframework.modulith.events.support.OutboxEventExternalizerFactory
-
Creates a new
OutboxEventExternalizerFactoryfor the givenEventExternalizationConfigurationandApplicationEventPublisher. - outboxEventRecorder(EventExternalizationConfiguration, Outbox) - Method in class org.springframework.modulith.events.namastack.NamastackOutboxEventRecorderAutoConfiguration
P
- PackageInfo - Annotation Interface in org.springframework.modulith
-
An annotation to mark a type as an alternative to Java's native
package-info.java. - PackageName - Class in org.springframework.modulith.core
-
The name of a Java package.
- parse(String) - Static method in class org.springframework.modulith.events.RoutingTarget
-
Creates a new
RoutingTarget.ParsedRoutingTargetby parsing the given source. - ParsedRoutingTarget(String, String) - Constructor for class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- path() - Method in record class org.springframework.modulith.junit.Changes.Change.OtherFileChange
-
Returns the value of the
pathrecord component. - path() - Method in record class org.springframework.modulith.junit.diff.ModifiedFile
-
Returns the value of the
pathrecord component. - PersistentApplicationEventMulticaster - Class in org.springframework.modulith.events.support
-
An
ApplicationEventMulticasterto registerEventPublications in anEventPublicationRegistryso that potentially failing transactional event listeners can get re-invoked upon application restart or via a schedule. - PersistentApplicationEventMulticaster(Supplier<EventPublicationRegistry>, Supplier<Environment>) - Constructor for class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
-
Creates a new
PersistentApplicationEventMulticasterfor the givenEventPublicationRegistry. - PersistentApplicationEventMulticaster.TransactionalEventListeners - Class in org.springframework.modulith.events.support
-
First-class collection to work with transactional event listeners, i.e.
- PersistentDomainEventsImportSelector(ResourceLoader) - Constructor for class org.springframework.modulith.events.config.EnablePersistentDomainEvents.PersistentDomainEventsImportSelector
- pointsToGradleTestTarget(String) - Static method in class org.springframework.modulith.docs.util.BuildSystemUtils
- pointsToMavenTestTarget(String) - Static method in class org.springframework.modulith.docs.util.BuildSystemUtils
- pointsToTestTarget(String) - Static method in class org.springframework.modulith.docs.util.BuildSystemUtils
-
Returns whether the given path points to a resource in the test target folder.
- POSTGRES - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration.AsyncPropertiesDefaulter
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.modulith.observability.support.ModuleObservabilityBeanPostProcessor
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.modulith.observability.support.SpringDataRestModuleObservabilityBeanPostProcessor
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.modulith.core.config.ApplicationModuleInitializerRuntimeVerification
- postProcessEnvironment(ConfigurableEnvironment, SpringApplication) - Method in class org.springframework.modulith.events.namastack.NamastackOutboxMulticasterDisabler
- precomputed(Supplier<String>) - Static method in class org.springframework.modulith.actuator.ApplicationModulesEndpoint
-
Creates a new
ApplicationModulesEndpointfrom the pre-computed actuator content - PrecomputedApplicationModuleInitializerInvoker - Class in org.springframework.modulith.runtime.autoconfigure
- PrecomputedApplicationModuleInitializerInvoker(ApplicationModuleMetadata) - Constructor for class org.springframework.modulith.runtime.autoconfigure.PrecomputedApplicationModuleInitializerInvoker
- prettyPrint(Duration) - Static method in class org.springframework.modulith.events.config.EventUtils
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.springframework.modulith.apt.SpringModulithProcessor
- processAheadOfTime(ConfigurableListableBeanFactory) - Method in class org.springframework.modulith.runtime.autoconfigure.ApplicationModulesFileGeneratingProcessor
- processAheadOfTime(RegisteredBean) - Method in class org.springframework.modulith.events.aot.TransactionalEventListenerAotProcessor
- processFailedPublications(ResubmissionOptions, Consumer<TargetEventPublication>) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- processFailedPublications(ResubmissionOptions, Consumer<TargetEventPublication>) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Processes all failed
EventPublications matching the givenResubmissionOptionswith the givenConsumer. - processIncompletePublications(Predicate<EventPublication>, Consumer<TargetEventPublication>, Duration) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- processIncompletePublications(Predicate<EventPublication>, Consumer<TargetEventPublication>, Duration) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Processes all incomplete event publications that have been published before the given duration in relation to "now" by applying the given filter passing all remaining instances to the given
Consumer. - PROCESSING - Enum constant in enum class org.springframework.modulith.events.EventPublication.Status
-
An event listener has picked up the publication and is processing it.
- propagate() - Element in annotation interface org.springframework.modulith.NamedInterface
-
Whether to automatically propagate the named interface assignment to related types of the annotated one.
- propagation() - Element in annotation interface org.springframework.modulith.events.ApplicationModuleListener
-
The transaction propagation type.
- PROPERTY - Static variable in enum class org.springframework.modulith.events.ExternalizationMode
- PROPERTY - Static variable in enum class org.springframework.modulith.events.support.CompletionMode
- publicationDate - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- publicationDate - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- publicationDate - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- PublicationsInProgress() - Constructor for class org.springframework.modulith.events.core.DefaultEventPublicationRegistry.PublicationsInProgress
- PublicationTargetIdentifier - Class in org.springframework.modulith.events.core
-
Identifier for a publication target.
- publish(Object) - Method in class org.springframework.modulith.test.Scenario
-
Publishes the given event.
- publish(Supplier<Object>) - Method in class org.springframework.modulith.test.Scenario
-
Publishes the event provided by the given
Supplier. - PUBLISHED - Enum constant in enum class org.springframework.modulith.events.EventPublication.Status
-
The event publication has been published initially.
- PublishedEvents - Interface in org.springframework.modulith.test
-
All Spring application events fired during the test execution.
- PublishedEvents.TypedPublishedEvents<T> - Interface in org.springframework.modulith.test
-
All application events of a given type that were fired during a test execution.
- PublishedEventsAssert - Class in org.springframework.modulith.test
-
AssertJ
AssertforPublishedEvents. - PublishedEventsAssert(TypedEvents) - Constructor for class org.springframework.modulith.test.PublishedEventsAssert
-
Creates a new
PublishedEventsAssert - PublishedEventsAssert.PublishedEventAssert<T> - Class in org.springframework.modulith.test
-
Assertions further qualifying the expected events.
- PublishedEventsExtension - Class in org.springframework.modulith.test
-
JUnit 5
Extensionfor standalone usage withoutApplicationModuleTest. - PublishedEventsExtension() - Constructor for class org.springframework.modulith.test.PublishedEventsExtension
- PublishedEventsFactory - Class in org.springframework.modulith.test
-
Creates an instance of
PublishedEventsorAssertablePublishedEventsdepending on whether AssertJ is on the classpath or not. - PublishedEventsFactory() - Constructor for class org.springframework.modulith.test.PublishedEventsFactory
- PublishedEventsFactory.PublishedEventsListenerAdapter - Interface in org.springframework.modulith.test
- PublishedEventsParameterResolver - Class in org.springframework.modulith.test
-
Provides instances of
PublishedEventsas test method parameters. - PublishedEventsParameterResolver() - Constructor for class org.springframework.modulith.test.PublishedEventsParameterResolver
- PublishedEventsParameterResolver(Function<ExtensionContext, ApplicationContext>) - Constructor for class org.springframework.modulith.test.PublishedEventsParameterResolver
Q
- Q1 - Enum constant in enum class org.springframework.modulith.moments.Quarter
- Q2 - Enum constant in enum class org.springframework.modulith.moments.Quarter
- Q3 - Enum constant in enum class org.springframework.modulith.moments.Quarter
- Q4 - Enum constant in enum class org.springframework.modulith.moments.Quarter
- QualifiedDependency(Dependency) - Constructor for class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- QualifiedDependency(JavaClass, JavaClass, String, DependencyType) - Constructor for class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
-
Creates a new
ApplicationModule.QualifiedDependencyfrom the given source and targetJavaClass, description andDependencyType. - Quarter - Enum Class in org.springframework.modulith.moments
-
A logical
Quarterof the year. - QuarterHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEventpublished once a quarter has passed. - QuarterHasPassedMixin() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.QuarterHasPassedMixin
R
- rabbitEventExternalizer(EventExternalizationConfiguration, RabbitMessageOperations, BeanFactory) - Method in class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration
- RabbitEventExternalizerConfiguration - Class in org.springframework.modulith.events.amqp
-
Auto-configuration to set up a
DelegatingEventExternalizerto externalize events to RabbitMQ. - RabbitEventExternalizerConfiguration() - Constructor for class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration
- RabbitEventExternalizerConfiguration.RabbitOutboxConfiguration - Class in org.springframework.modulith.events.amqp
- RabbitEventExternalizerConfiguration.RabbitOutboxConfiguration.JobRunrOutboxAutoConfiguration - Class in org.springframework.modulith.events.amqp
- RabbitEventExternalizerConfiguration.RabbitOutboxConfiguration.NamastackOutboxAutoConfiguration - Class in org.springframework.modulith.events.amqp
- RabbitJackson2Configuration - Class in org.springframework.modulith.events.amqp
-
Deprecated.since 2.0 in favor of
RabbitJacksonConfiguration - RabbitJackson2Configuration() - Constructor for class org.springframework.modulith.events.amqp.RabbitJackson2Configuration
-
Deprecated.
- RabbitJacksonConfiguration - Class in org.springframework.modulith.events.amqp
-
Auto-configuration to configure
RabbitTemplateto use the JacksonJsonMapperpresent in the application. - RabbitJacksonConfiguration() - Constructor for class org.springframework.modulith.events.amqp.RabbitJacksonConfiguration
- RabbitOutboxConfiguration(EventExternalizationConfiguration, RabbitMessageOperations, BeanFactory, OutboxEventExternalizerFactory, Environment) - Constructor for class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration.RabbitOutboxConfiguration
- rabbitTemplateCustomizer(ObjectMapper) - Method in class org.springframework.modulith.events.amqp.RabbitJackson2Configuration
-
Deprecated.
- rabbitTemplateCustomizer(JsonMapper) - Method in class org.springframework.modulith.events.amqp.RabbitJacksonConfiguration
- readOnlyTransaction() - Element in annotation interface org.springframework.modulith.events.ApplicationModuleListener
-
Whether the transaction to be run for the event listener is supposed to be read-only (default false).
- recursive() - Method in class org.springframework.modulith.core.NamedInterfaces.Builder
-
Configures the builder to not only consider directly nested packages but also ones nested in those.
- ReferenceCommitDetector - Class in org.springframework.modulith.junit.diff
-
Implementation to get changes between HEAD and a complete or abbreviated SHA-1 or other revision, like
HEAD~2. - ReferenceCommitDetector(String) - Constructor for class org.springframework.modulith.junit.diff.ReferenceCommitDetector
-
Creates a new
ReferenceCommitDetectorfor the given reference commit. - ReferenceMethod(JavaMethod) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- register(TargetEventPublication) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry.PublicationsInProgress
-
Registers the given
TargetEventPublicationas currently processed. - registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class org.springframework.modulith.test.ModuleTestAutoConfiguration.AutoConfigurationAndEntityScanPackageCustomizer
- registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.modulith.events.aot.ApplicationListenerMethodAdapterRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.modulith.events.jdbc.DatabaseSchemaHints
- relatedTypesOf(JavaClass, Predicate<? super JavaClass>) - Static method in class org.springframework.modulith.core.Types.JavaTypes
-
Returns all related types of the given one, i.e., all public, non-core, non-primitive Java types declared on public methods (as either return type or parameter) and constructors, with the given filter applied.
- renderBeanReferences(ApplicationModule) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderConfigurationProperties(List<ConfigurationProperties.ModuleProperty>) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderEventsListenedTo(ApplicationModule) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderGeneralInclude(String) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderHeadline(int, String) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderModuleDescription(ApplicationModule) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderPlantUmlInclude(String) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderPublishedEvents(ApplicationModule) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderSpringBeans(ApplicationModule, Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Asciidoctor
- REPOSITORY - Static variable in class org.springframework.modulith.core.Types.SpringDataTypes
- REPUBLISH_ON_RESTART - Static variable in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- REPUBLISH_ON_RESTART_LEGACY - Static variable in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- reset() - Method in class org.springframework.modulith.moments.support.Moments
- reset() - Method in class org.springframework.modulith.moments.support.TimeMachine
- residesInPackageAnnotatedWith(Class<? extends Annotation>) - Static method in class org.springframework.modulith.core.Types
-
Creates a new
DescribedPredicateto match classes - resolveParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.modulith.test.PublishedEventsParameterResolver
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.modulith.test.ScenarioParameterResolver
- ResubmissionOptions - Class in org.springframework.modulith.events
-
Options to be considered during
EventPublicationre-submission. - resubmit(ResubmissionOptions) - Method in interface org.springframework.modulith.events.FailedEventPublications
-
Initiate the re-submission of failed
EventPublicationaccording to the givenResubmissionOptions. - resubmit(ResubmissionOptions) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- resubmitIncompletePublications(Predicate<EventPublication>) - Method in interface org.springframework.modulith.events.IncompleteEventPublications
-
Triggers the re-submission of events for which incomplete
EventPublications are registered. - resubmitIncompletePublications(Predicate<EventPublication>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- resubmitIncompletePublications(ResubmissionOptions) - Method in interface org.springframework.modulith.events.IncompleteEventPublications
-
Triggers the re-submission of incomplete
EventPublications matching the givenResubmissionOptions. - resubmitIncompletePublications(ResubmissionOptions) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- resubmitIncompletePublicationsOlderThan(Duration) - Method in interface org.springframework.modulith.events.IncompleteEventPublications
-
Triggers the re-submission of events for which incomplete
EventPublications are registered that exceed a certain age regarding their original publication date. - resubmitIncompletePublicationsOlderThan(Duration) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- RESUBMITTED - Enum constant in enum class org.springframework.modulith.events.EventPublication.Status
-
A previously failed publication has been resubmitted for processing.
- revealEmptyLines() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Enables table rows not containing any values to be retained in the output.
- revealInternals() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Enables the inclusion of internal components in the module canvas.
- reverse() - Static method in class org.springframework.modulith.core.JavaPackage
- ROOT - Static variable in class org.springframework.modulith.runtime.flyway.SpringModulithFlywayMigrationStrategy
- route(Class<T>, Function<T, RoutingTarget>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers a router function for the events of the given specific type.
- routeAll(Function<Object, RoutingTarget>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Routes all events based on the given function.
- routeAllByType(Function<Class<?>, RoutingTarget>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Routes all messages based on the event type only.
- routeKey(Class<T>, Function<T, String>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers a
BiFunctionto resolve the key for aRoutingTargetbased on the event instance. - routeMapped() - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Configures the routing to rather use the mapping result rather than the original event instance.
- routeOptional(Function<Object, Optional<RoutingTarget>>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Routes by extracting an
Optionalroute from the event. - routeOptionalByType(Function<Class<?>, Optional<RoutingTarget>>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Routes by extracting an
Optionalroute from the event type. - Router(Predicate<Object>) - Constructor for class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Creates a new
EventExternalizationConfiguration.Routerfor the given selector filter. - Router(Predicate<Object>, Function<Object, Object>, Function<Object, RoutingTarget>, Function<Object, Map<String, Object>>, boolean) - Constructor for class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Creates a new
EventExternalizationConfiguration.Routerfor the given selectorPredicateand mapper and routerFunctions. - RoutingTarget - Class in org.springframework.modulith.events
-
A
String-based routing target that supports a::delimiter to separate the sole target from an additional key. - RoutingTarget.ParsedRoutingTarget - Class in org.springframework.modulith.events
-
A parsed routing target that can have null target and key values.
- RoutingTarget.RoutingTargetBuilder - Class in org.springframework.modulith.events
-
An intermediary to ultimately create
RoutingTargetinstances. - RuntimeApplicationModuleVerifier(CompletableFuture<ApplicationModules>, ObjectProvider<VerificationOptions>) - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.RuntimeApplicationModuleVerifier
S
- Scenario - Class in org.springframework.modulith.test
-
A DSL to define integration testing scenarios for application modules.
- Scenario(TransactionTemplate, ApplicationEventPublisher, AssertablePublishedEvents) - Constructor for class org.springframework.modulith.test.Scenario
-
Creates a new
Scenariofor the givenTransactionTemplate,ApplicationEventPublisherandAssertablePublishedEvents. - Scenario.When<T> - Class in org.springframework.modulith.test
- Scenario.When.EventResult<E> - Class in org.springframework.modulith.test
-
The result of an expected event publication.
- Scenario.When.StateChangeResult<S> - Class in org.springframework.modulith.test
-
The result of an expected state change.
- ScenarioCustomizer - Interface in org.springframework.modulith.test
-
A JUnit
InvocationInterceptorto register a default customizer to be applied to allScenarioinstances associated with that test case. - ScenarioParameterResolver - Class in org.springframework.modulith.test
-
JUnit
ParameterResolverforScenario. - ScenarioParameterResolver() - Constructor for class org.springframework.modulith.test.ScenarioParameterResolver
-
Creates a new
ScenarioParameterResolver. - SCHEMA_NOT_SUPPORTED - Static variable in enum class org.springframework.modulith.events.jdbc.DatabaseType
- SCHEMA_ROOT - Static variable in enum class org.springframework.modulith.events.jdbc.DatabaseType
- SchemaInitialization(boolean) - Constructor for class org.springframework.modulith.events.jdbc.JdbcConfigurationProperties.SchemaInitialization
- select(Predicate<Object>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to externalize by applying the given
Predicate. - selectAndRoute(Class<T>, BiFunction<Object, T, RoutingTarget>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events by the presence of an annotation of the given type and routes based on the given router
BiFunctionthat also gets the event type to build up a completeRoutingTarget. - selectAndRoute(Class<T>, Function<T, String>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events by the presence of an annotation of the given type and routes based on the given router
Function. - selectByAnnotation(Class<? extends Annotation>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to be externalized by inspecting the event type for the given annotation.
- selectByPackage(Class<?>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to externalize by the package of the given type and all sub-packages.
- selectByPackage(String) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to externalize by the given base package and all sub-packages.
- selectByPackagesAndFilter(Collection<String>, Predicate<Object>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to externalize by the given base packages (and their sub-packages) that match the given filter
Predicate. - selectByType(Class<?>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to be externalized by type.
- selectByType(Predicate<Class<?>>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to be externalized by the given
Predicate. - selectImports(AnnotationMetadata) - Method in class org.springframework.modulith.events.config.EnablePersistentDomainEvents.PersistentDomainEventsImportSelector
- Selector() - Constructor for class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Creates a new
EventExternalizationConfiguration.Selector. - serialize(Object) - Method in interface org.springframework.modulith.events.core.EventSerializer
-
Serializes the given event into a storable format.
- serialize(Object) - Method in class org.springframework.modulith.events.jackson.JacksonEventSerializer
- serialize(Object) - Method in class org.springframework.modulith.events.jackson2.Jackson2EventSerializer
-
Deprecated.
- serializedEvent - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- serializeExternalization - Variable in class org.springframework.modulith.events.EventExternalizationConfiguration.BaseConfiguration
- serializeExternalization() - Method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
- serializeExternalization() - Method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Returns whether the event externalization should be serialized to make sure the broker sees the events in the order they were published in the application.
- serializeExternalization(boolean) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.BaseConfiguration
- setBasePackagesOn(BeanDefinitionRegistry, String, List<String>) - Method in class org.springframework.modulith.test.ModuleTestAutoConfiguration.AutoConfigurationAndEntityScanPackageCustomizer
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepositoryV2
- setBeanFactory(BeanFactory) - Method in class org.springframework.modulith.observability.support.ModuleObservabilitySupport
- setDefaultCustomizer(Function<ConditionFactory, ConditionFactory>) - Method in class org.springframework.modulith.test.Scenario
-
Extension hook to allow registration of a global customizer.
- setResourceLoader(ResourceLoader) - Method in class org.springframework.modulith.events.config.EnablePersistentDomainEvents.PersistentDomainEventsImportSelector
- sha256(byte[]) - Static method in class org.springframework.modulith.events.neo4j.EventHash
-
Returns the hex-encoded SHA-256 digest of the given bytes.
- sharedModules() - Element in annotation interface org.springframework.modulith.Modulith
-
The names of modules considered to be shared, i.e. which should always be included in the bootstrap no matter what.
- sharedModules() - Element in annotation interface org.springframework.modulith.Modulithic
-
The names of modules considered to be shared, i.e. which should always be included in the bootstrap, no matter what.
- shiftBy(Duration) - Method in class org.springframework.modulith.moments.support.Moments
- shiftBy(Duration) - Method in class org.springframework.modulith.moments.support.TimeMachine
- ShiftedQuarter - Class in org.springframework.modulith.moments
-
A quarter that can be shifted to start at a configurable
Month. - ShiftedQuarterMixin() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.ShiftedQuarterMixin
- shouldBeObserved() - Method in class org.springframework.modulith.observability.ObservedModuleType
-
Returns whether the type should be observed at all.
- shouldMigrate(ApplicationModuleIdentifier, Flyway) - Method in class org.springframework.modulith.runtime.flyway.ActiveModules
- shouldMigrate(ApplicationModuleIdentifier, Flyway) - Method in class org.springframework.modulith.runtime.flyway.HasMigrationFiles
- shouldMigrate(ApplicationModuleIdentifier, Flyway) - Method in interface org.springframework.modulith.runtime.flyway.MigrationFilter
-
Whether to execute the migration for the given
ApplicationModuleIdentifier. - signature() - Method in record class org.springframework.modulith.docs.metadata.MethodMetadata
-
Returns the value of the
signaturerecord component. - simpleAsyncTaskExecutorCustomizer() - Method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- SKIP_ALL - Enum constant in enum class org.springframework.modulith.junit.Changes.OnNoChange
- skipTestsOnNoChanges() - Method in class org.springframework.modulith.junit.Changes
-
Returns whether we should skip test execution in case of no changes.
- Source - Interface in org.springframework.modulith.core
-
A
Sourceof some type, bean definition etc. - sourceType() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
sourceTyperecord component. - sourceType() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
sourceTyperecord component. - SpringAwareArchitecturallyEvidentType(JavaClass, Classes) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- SpringBean - Class in org.springframework.modulith.core
-
A Spring bean type.
- SpringBootApplicationRuntime - Class in org.springframework.modulith.runtime
-
ApplicationRuntimeimplementation based on anApplicationContextand a class that's annotated withSpringBootApplication. - SpringBootApplicationRuntime(ApplicationContext) - Constructor for class org.springframework.modulith.runtime.SpringBootApplicationRuntime
-
Creates a new
SpringBootApplicationRuntimefor the givenApplicationContext. - SpringBootModulithMetadata - Class in org.springframework.modulith.core
-
Creates a new
ModulithMetadatarepresenting the defaults ofModulithicbut without the annotation present. - SpringDataAwareArchitecturallyEvidentType(JavaClass, Classes) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- SpringDataRestModuleObservabilityAutoConfiguration - Class in org.springframework.modulith.observability.autoconfigure
- SpringDataRestModuleObservabilityAutoConfiguration() - Constructor for class org.springframework.modulith.observability.autoconfigure.SpringDataRestModuleObservabilityAutoConfiguration
- SpringDataRestModuleObservabilityBeanPostProcessor - Class in org.springframework.modulith.observability.support
- SpringDataRestModuleObservabilityBeanPostProcessor(ApplicationModulesRuntime, Supplier<ObservationRegistry>, Supplier<ModulithObservationConvention>, Environment) - Constructor for class org.springframework.modulith.observability.support.SpringDataRestModuleObservabilityBeanPostProcessor
-
Creates a new
SpringDataRestModuleObservabilityBeanPostProcessorfor the givenApplicationModulesRuntimeandObservationRegistry. - springDataRestModuleTracingBeanPostProcessor(ApplicationModulesRuntime, ObjectProvider<ObservationRegistry>, ObjectProvider<ModulithObservationConvention>, Environment) - Static method in class org.springframework.modulith.observability.autoconfigure.SpringDataRestModuleObservabilityAutoConfiguration
- SpringDataTypes() - Constructor for class org.springframework.modulith.core.Types.SpringDataTypes
- SpringGroupings() - Constructor for class org.springframework.modulith.docs.Groupings.SpringGroupings
- springMessagingEventExternalizer(EventExternalizationConfiguration, BeanFactory) - Method in class org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration
- SpringMessagingEventExternalizerConfiguration - Class in org.springframework.modulith.events.messaging
-
Auto-configuration to set up a
DelegatingEventExternalizerto externalize events to a Spring MessagingMessageChannel. - SpringMessagingEventExternalizerConfiguration() - Constructor for class org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration
- SpringMessagingEventExternalizerConfiguration.SpringMessagingOutboxConfiguration - Class in org.springframework.modulith.events.messaging
- SpringMessagingEventExternalizerConfiguration.SpringMessagingOutboxConfiguration.JobRunrOutboxAutoConfiguration - Class in org.springframework.modulith.events.messaging
- SpringMessagingEventExternalizerConfiguration.SpringMessagingOutboxConfiguration.NamastackOutboxAutoConfiguration - Class in org.springframework.modulith.events.messaging
- SpringMessagingOutboxConfiguration(EventExternalizationConfiguration, BeanFactory, OutboxEventExternalizerFactory) - Constructor for class org.springframework.modulith.events.messaging.SpringMessagingEventExternalizerConfiguration.SpringMessagingOutboxConfiguration
- SpringModulithDocumentationSource - Class in org.springframework.modulith.docs
-
A
DocumentationSourceusing metadata found in "generated-spring-modulith/javadoc.json", usually generated viaspring-modulith-apt. - SpringModulithFlywayAutoConfiguration() - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.SpringModulithFlywayAutoConfiguration
- SpringModulithFlywayCustomizer(Flyway) - Constructor for class org.springframework.modulith.runtime.flyway.SpringModulithFlywayMigrationStrategy.SpringModulithFlywayCustomizer
- SpringModulithFlywayCustomizer(Flyway, MigrationFilter) - Constructor for class org.springframework.modulith.runtime.flyway.SpringModulithFlywayMigrationStrategy.SpringModulithFlywayCustomizer
- springModulithFlywayMigrationStrategy(ApplicationModuleIdentifiers, BeanFactory, ResourcePatternResolver, ObjectProvider<MigrationFilter>) - Method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.SpringModulithFlywayAutoConfiguration
- SpringModulithFlywayMigrationStrategy - Class in org.springframework.modulith.runtime.flyway
-
A custom
FlywayMigrationStrategythat customizes the Flyway execution to rather run multiple migrations for each of the application modules identified by the configuredApplicationModuleIdentifiers. - SpringModulithFlywayMigrationStrategy(ApplicationModuleIdentifiers, MigrationFilter) - Constructor for class org.springframework.modulith.runtime.flyway.SpringModulithFlywayMigrationStrategy
-
Creates a new
SpringModulithFlywayMigrationStrategyfor the givenApplicationModuleIdentifiers. - SpringModulithFlywayMigrationStrategy.SpringModulithFlywayCustomizer - Class in org.springframework.modulith.runtime.flyway
- SpringModulithModule(ApplicationModuleInformationFactory.AnnotationLookup) - Constructor for class org.springframework.modulith.core.ApplicationModuleInformationFactory.SpringModulithModule
-
Creates a new
ApplicationModuleInformationFactory.SpringModulithModulefor the givenApplicationModuleInformationFactory.AnnotationLookup. - SpringModulithProcessor - Class in org.springframework.modulith.apt
-
An annotation processor to extract Javadoc from all compiled files assembling it into a JSON file located under
$target/generated-spring-modulith/javadoc.json. - SpringModulithProcessor() - Constructor for class org.springframework.modulith.apt.SpringModulithProcessor
- SpringModulithRuntimeAutoConfiguration - Class in org.springframework.modulith.runtime.autoconfigure
-
Auto-configuration to register an
ApplicationRuntime, aApplicationModulesRuntimeand anApplicationListenerto invoke allApplicationModuleInitializers as Spring Bean. - SpringModulithRuntimeAutoConfiguration() - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- SpringModulithRuntimeAutoConfiguration.ApplicationModulesBootstrap - Class in org.springframework.modulith.runtime.autoconfigure
- SpringModulithRuntimeAutoConfiguration.ArchUnitRuntimeDependencyMissingConfiguration - Class in org.springframework.modulith.runtime.autoconfigure
-
Auto-configuration to react to ArchUnit missing on the runtime classpath.
- SpringModulithRuntimeAutoConfiguration.RuntimeApplicationModuleVerifier - Class in org.springframework.modulith.runtime.autoconfigure
-
A component to verify the application module arrangement at runtime.
- SpringModulithRuntimeAutoConfiguration.SpringModulithFlywayAutoConfiguration - Class in org.springframework.modulith.runtime.autoconfigure
- SpringModulithRuntimeProperties - Class in org.springframework.modulith.runtime.autoconfigure
-
Configuration properties for Spring modulith's runtime support.
- SpringModulithRuntimeProperties(boolean, boolean) - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeProperties
- SpringTypes() - Constructor for class org.springframework.modulith.core.Types.SpringTypes
- sqlStorageProvider(BeanFactory, JobMapper, JobRunrProperties) - Method in class org.springframework.modulith.events.jobrunr.ModulithJobRunrSqlStorageProviderAutoConfiguration
- Staleness - Interface in org.springframework.modulith.events.core
-
Allows to look up the
Durationafter whichEventPublications with a certainEventPublication.Statusare considered stale. - StalenessMonitorConfiguration - Class in org.springframework.modulith.events.config
-
Configures a fixed-delay task to mark stale in-flight event publications as failed according to the configuration in
StalenessProperties. - StalenessMonitorConfiguration(EventPublicationRegistry, StalenessProperties) - Constructor for class org.springframework.modulith.events.config.StalenessMonitorConfiguration
-
Creates a new
StalenessMonitorConfigurationfor the givenEventPublicationRegistryandStalenessProperties. - StalenessProperties - Class in org.springframework.modulith.events.config
-
Configuration properties to tweak the Spring Modulith event handling.
- StalenessProperties(Duration, Duration, Duration, Duration, Duration, Duration) - Constructor for class org.springframework.modulith.events.config.StalenessProperties
- STANDALONE - Enum constant in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Bootstraps the current module only.
- startOrEndTable() - Static method in class org.springframework.modulith.docs.Asciidoctor
- startTable(String) - Static method in class org.springframework.modulith.docs.Asciidoctor
- StateChangeResult(Scenario.When.ExecutionResult<S, T>) - Constructor for class org.springframework.modulith.test.Scenario.When.StateChangeResult
- StateStore - Class in org.springframework.modulith.junit
- StateStore(ExtensionContext) - Constructor for class org.springframework.modulith.junit.StateStore
-
Creates a new
StateStorefor the givenExtensionContext. - status - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- status - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- status - Variable in class org.springframework.modulith.events.neo4j.Neo4jEventPublication
- stimulate(Runnable) - Method in class org.springframework.modulith.test.Scenario
-
Stimulates the system by executing the given
Runnable. - stimulate(BiConsumer<TransactionOperations, ApplicationEventPublisher>) - Method in class org.springframework.modulith.test.Scenario
-
Stimulate the system using the given
TransactionOperationsandApplicationEventPublisher. - stimulate(BiFunction<TransactionOperations, ApplicationEventPublisher, S>) - Method in class org.springframework.modulith.test.Scenario
-
Stimulate the system using the given
TransactionOperationsandApplicationEventPublisherand produce a result. - stimulate(Function<TransactionOperations, S>) - Method in class org.springframework.modulith.test.Scenario
-
Stimulates the system using the given function providing access to the
TransactionOperationsand keeping the supplied value around for later verification. - stimulate(Supplier<S>) - Method in class org.springframework.modulith.test.Scenario
-
Stimulates the system using the given
Supplierand keeping the supplied value around for later verification. - store(Object, Stream<PublicationTargetIdentifier>) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- store(Object, Stream<PublicationTargetIdentifier>) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Stores
TargetEventPublications for the given event andApplicationListeners. - stream() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
-
Returns all
ApplicationModule.AllowedDependencyinstances as aStream. - stream() - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns all
ApplicationModuleDependencyinstances asStream. - stream() - Method in class org.springframework.modulith.core.ApplicationModuleIdentifiers
-
Creates a new
StreamofApplicationModuleIdentifiers. - stream() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns all
ApplicationModules. - stream() - Method in class org.springframework.modulith.core.Classes
- stream() - Method in class org.springframework.modulith.core.EntryPoints
-
Returns a
Streamof allEntryPoints.EntryPoints. - stream() - Method in class org.springframework.modulith.core.JavaPackage
- stream() - Method in class org.springframework.modulith.core.JavaPackages
-
Returns a stream of
JavaPackages. - stream() - Method in class org.springframework.modulith.core.NamedInterfaces
-
Create a
StreamofNamedInterfaces. - stream() - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Returns all transactional event listeners.
- subtypeOf(Class<?>) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Helper method to create a
PredicateforSpringBeans that are a subtype of the given one. - supports(Object) - Method in interface org.springframework.modulith.events.core.ConditionalEventListener
-
Returns whether the given event instance is supported by the listener.
- supports(Object) - Method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
- supports(Object) - Method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Whether the configuration supports the given event.
- supports(Object) - Method in class org.springframework.modulith.events.jobrunr.JobRunrEventExternalizer
- supports(Object) - Method in class org.springframework.modulith.events.support.EventExternalizationSupport
-
Deprecated.
- supports(Object) - Method in class org.springframework.modulith.events.support.EventExternalizerModuleListener
- supports(ApplicationModuleInformationFactory.AnnotationLookup) - Static method in class org.springframework.modulith.core.ApplicationModuleInformationFactory.JMoleculesModule
- supports(ApplicationModuleInformationFactory.AnnotationLookup) - Static method in class org.springframework.modulith.core.ApplicationModuleInformationFactory.SpringModulithModule
-
Whether the given
ApplicationModuleInformationFactory.AnnotationLookupsupports thisApplicationModuleInformation. - supportsContext(Observation.Context) - Method in interface org.springframework.modulith.observability.ModulithObservationConvention
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.modulith.test.PublishedEventsParameterResolver
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.modulith.test.ScenarioParameterResolver
- SyntacticSugar - Class in org.springframework.modulith.core
-
Helper to make the composition of
DescribedPredicates more readable. - SyntacticSugar() - Constructor for class org.springframework.modulith.core.SyntacticSugar
- systemName() - Element in annotation interface org.springframework.modulith.Modulith
-
A logical system name for documentation purposes.
- systemName() - Element in annotation interface org.springframework.modulith.Modulithic
-
A logical system name for documentation purposes.
T
- target - Variable in class org.springframework.modulith.events.support.BrokerRouting
- target() - Element in annotation interface org.springframework.modulith.events.Externalized
-
The logical target name.
- TargetEventPublication - Interface in org.springframework.modulith.events.core
-
An event publication.
- TestApplicationModules - Class in org.springframework.modulith.test
-
Utility methods to work with test
ApplicationModules. - TestApplicationModules() - Constructor for class org.springframework.modulith.test.TestApplicationModules
- TestApplicationModules.Factory - Class in org.springframework.modulith.test
-
Custom
ApplicationModulesFactoryto bootstrap anApplicationModulesinstance only considering test code. - testClass() - Method in record class org.springframework.modulith.junit.TestExecutionCondition.ConditionContext
-
Returns the value of the
testClassrecord component. - testDir() - Method in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
-
Returns the value of the
testDirrecord component. - TestExecutionCondition - Class in org.springframework.modulith.junit
-
Primary condition implementation that decides whether to run a test based on an
TestExecutionCondition.ConditionContext. - TestExecutionCondition() - Constructor for class org.springframework.modulith.junit.TestExecutionCondition
- TestExecutionCondition.ConditionContext - Record Class in org.springframework.modulith.junit
- testFactory() - Method in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
-
Returns the value of the
testFactoryrecord component. - that(DescribedPredicate<? super JavaClass>) - Method in class org.springframework.modulith.core.Classes
-
Returns
Classesthat match the givenDescribedPredicate. - that(DescribedPredicate<? super JavaClass>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all
Classesthat match the givenDescribedPredicate. - thatResideIn(PackageName, boolean) - Method in class org.springframework.modulith.core.Classes
-
Returns all classes that reside the given
PackageName. - threadPoolTaskExecutorCustomizer() - Method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- throwIfPresent() - Method in exception org.springframework.modulith.core.Violations
-
Throws itself in case it's not an empty instance.
- timeMachine(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
- TimeMachine - Class in org.springframework.modulith.moments.support
-
Extension of
Momentsto publicly expose methods to shift time. - TimeMachine(Clock, ApplicationEventPublisher, MomentsProperties) - Constructor for class org.springframework.modulith.moments.support.TimeMachine
- to(ApplicationModule) - Static method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
-
Creates a new
ApplicationModule.AllowedDependencyto the unnamed interface of the givenApplicationModule. - toArchitecturallyEvidentType() - Method in class org.springframework.modulith.core.SpringBean
-
Creates a new
ArchitecturallyEvidentTypefrom the currentSpringBean. - toArrive() - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Awaits an event of the given specification to arrive.
- toArriveAndAssert(BiConsumer<PublishedEventsAssert.PublishedEventAssert<? super E>, T>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Expects the events previously specified to arrive and additionally assert the
PublishedEventsAssertfor the captured event and original stimulus result. - toArriveAndAssert(Consumer<PublishedEventsAssert.PublishedEventAssert<? super E>>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Expects the events previously specified to arrive and additionally assert the
PublishedEventsAssertfor the captured event. - toArriveAndVerify(BiConsumer<E, T>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Awaits an event of the given specification to arrive and invokes the given consumer with it as well as the result created by the stimulus.
- toArriveAndVerify(Consumer<E>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Awaits an event of the given specification to arrive and invokes the given consumer with it.
- toAsciidoctor(String) - Method in class org.springframework.modulith.docs.Asciidoctor
- toBulletPoint(String) - Method in class org.springframework.modulith.docs.Asciidoctor
- toChange(ModifiedFile) - Method in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
- toClasses() - Static method in class org.springframework.modulith.core.Classes
- today() - Method in class org.springframework.modulith.moments.support.Moments
- today() - Method in interface org.springframework.modulith.moments.support.Now
-
Returns the current date.
- toFullJson() - Method in class org.springframework.modulith.core.util.ApplicationModulesExporter
-
Returns the
ApplicationModulesstructure as JSON String including full details, such as named interfaces etc. - toInlineCode(JavaClass) - Method in class org.springframework.modulith.docs.Asciidoctor
- toInlineCode(String) - Method in class org.springframework.modulith.docs.Asciidoctor
-
Turns the given source string into inline code.
- toInlineCode(SpringBean) - Method in class org.springframework.modulith.docs.Asciidoctor
- toJson() - Method in class org.springframework.modulith.core.util.ApplicationModulesExporter
-
Returns the
ApplicationModulesstructure as JSON String. - toModifiedFiles(Repository, String, String) - Static method in interface org.springframework.modulith.junit.diff.JGitUtil
- toModuleCanvas(ApplicationModule) - Method in class org.springframework.modulith.docs.Documenter
- toModuleCanvas(ApplicationModule, String) - Method in class org.springframework.modulith.docs.Documenter
- toModuleCanvas(ApplicationModule, Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Documenter
- toOptional() - Method in class org.springframework.modulith.core.Classes
- toPlantUml() - Method in class org.springframework.modulith.docs.Documenter
- toRoutingTarget() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- toSingle() - Method in class org.springframework.modulith.core.JavaPackage
-
Reduces the
JavaPackageto only its base package. - toString() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependencies
- toString() - Method in class org.springframework.modulith.core.ApplicationModule.AllowedDependency
- toString() - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- toString() - Method in class org.springframework.modulith.core.ApplicationModule
- toString() - Method in class org.springframework.modulith.core.ApplicationModuleIdentifier
- toString() - Method in class org.springframework.modulith.core.ApplicationModules
- toString() - Method in class org.springframework.modulith.core.ApplicationModuleSource
- toString() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- toString() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- toString() - Method in class org.springframework.modulith.core.Classes
- toString() - Method in class org.springframework.modulith.core.EntryPoints.EntryPoint
- toString() - Method in class org.springframework.modulith.core.EventType
- toString() - Method in class org.springframework.modulith.core.JavaPackage
- toString() - Method in class org.springframework.modulith.core.JavaPackages
- toString() - Method in class org.springframework.modulith.core.NamedInterface
- toString() - Method in class org.springframework.modulith.core.NamedInterfaces
- toString() - Method in class org.springframework.modulith.core.PackageName
- toString() - Method in class org.springframework.modulith.core.Violation
- toString() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.docs.metadata.MethodMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.docs.metadata.TypeMetadata
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- toString() - Method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
- toString() - Method in record class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository.IdOnly
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- toString() - Method in class org.springframework.modulith.events.RoutingTarget
- toString() - Method in record class org.springframework.modulith.junit.Changes.Change.JavaSourceChange
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.junit.Changes.Change.JavaTestSourceChange
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.junit.Changes.Change.KotlinSourceChange
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.junit.Changes.Change.KotlinTestSourceChange
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.junit.Changes.Change.LanguageConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.junit.Changes.Change.OtherFileChange
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.modulith.junit.Changes
- toString() - Method in record class org.springframework.modulith.junit.diff.ModifiedFile
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.junit.TestExecutionCondition.ConditionContext
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.modulith.test.DefaultAssertablePublishedEvents
- toString() - Method in class org.springframework.modulith.test.DefaultPublishedEvents
- toString(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
- toString(Object) - Static method in class org.springframework.modulith.core.util.Json
- toString(ApplicationModule) - Method in class org.springframework.modulith.core.JavaAccessSource
- toString(ApplicationModule) - Method in interface org.springframework.modulith.core.Source
-
Renders the source in human readable way.
- toViolations() - Static method in exception org.springframework.modulith.core.Violations
- tracingModuleEventListener(ApplicationModulesRuntime, ObjectProvider<MeterRegistry>, ModuleEventCounterFactory) - Static method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- TransactionalEventListenerAotProcessor - Class in org.springframework.modulith.events.aot
-
A
BeanRegistrationAotProcessorprocessing beans for methods annotated withTransactionalEventListenerto register those methods' parameter types for reflection as they will need to be serialized for the event publication registry. - TransactionalEventListenerAotProcessor() - Constructor for class org.springframework.modulith.events.aot.TransactionalEventListenerAotProcessor
- TransactionalEventListeners(Collection<ApplicationListener<?>>, Supplier<Environment>) - Constructor for class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Creates a new
PersistentApplicationEventMulticaster.TransactionalEventListenersinstance by filtering all elements implementingTransactionalApplicationListener. - transactionManager(MongoDatabaseFactory) - Method in class org.springframework.modulith.events.mongodb.MongoDbTransactionAutoConfiguration
- transactionTemplate(PlatformTransactionManager) - Method in class org.springframework.modulith.events.mongodb.MongoDbTransactionAutoConfiguration
- TransportAwareEventExternalizer - Class in org.springframework.modulith.events.support
-
An
EventExternalizationSupportdelegating to aEventExternalizationTransportfor the actual externalization. - TransportAwareEventExternalizer(EventExternalizationConfiguration, EventExternalizationTransport) - Constructor for class org.springframework.modulith.events.support.TransportAwareEventExternalizer
-
Creates a new
DelegatingEventExternalizerfor the givenEventExternalizationConfigurationandEventExternalizationTransportimplementing the actual externalization. - TRIGGER_ANNOTATION_PROPERTY - Static variable in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
- type() - Element in annotation interface org.springframework.modulith.ApplicationModule
-
Declares the
ApplicationModule.Typeof theApplicationModule - type() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
typerecord component. - TypeAware - Interface in org.springframework.modulith.core
-
A type that revolves around a single, well-known
JavaClass, e.g. exposing where instances of it get created. - TypedEvents - Interface in org.springframework.modulith.test
- TypeMetadata - Record Class in org.springframework.modulith.docs.metadata
-
Metadata about a Java type.
- TypeMetadata(String, String, List<MethodMetadata>) - Constructor for record class org.springframework.modulith.docs.metadata.TypeMetadata
-
Creates an instance of a
TypeMetadatarecord class. - Types - Class in org.springframework.modulith.core
-
Utility to deal with a variety of types.
- Types() - Constructor for class org.springframework.modulith.core.Types
- Types.JavaTypes - Class in org.springframework.modulith.core
- Types.JavaXTypes - Class in org.springframework.modulith.core
- Types.JMoleculesTypes - Class in org.springframework.modulith.core
- Types.MessagingTypes - Class in org.springframework.modulith.core
-
Annotations of the messaging listener flavors optionally supported alongside core Spring.
- Types.SpringDataTypes - Class in org.springframework.modulith.core
- Types.SpringTypes - Class in org.springframework.modulith.core
- typesToBulletPoints(List<JavaClass>) - Method in class org.springframework.modulith.docs.Asciidoctor
U
- UML - Enum constant in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle
-
A plain UML component diagram.
- UncommittedChangesDetector - Enum Class in org.springframework.modulith.junit.diff
-
Implementation to get latest local file changes.
- uniqueModules() - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns all unique
ApplicationModules involved in the dependencies. - uniqueStream(Function<ApplicationModuleDependency, Object>) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Return all
ApplicationModuleDependencyinstances unique by the value extracted using the givenFunction. - unnamed(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterface
-
Returns the unnamed interface for the given package, excluding any sub-packages by convention.
- UNNAMED_NAME - Static variable in class org.springframework.modulith.core.NamedInterface
- UnpushedCommitsDetector - Enum Class in org.springframework.modulith.junit.diff
-
Find all changes that have not been pushed to the remote branch yet.
- unregister(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry.PublicationsInProgress
-
Unregisters the
TargetEventPublicationassociated with the given event andPublicationTargetIdentifier. - unregister(TargetEventPublication) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry.PublicationsInProgress
-
Unregisters the
TargetEventPublication.. - UPDATE - Enum constant in enum class org.springframework.modulith.events.support.CompletionMode
-
Completes an
EventPublicationby setting its completion date and updating the database entry accordingly. - USE_ALL - Static variable in interface org.springframework.modulith.runtime.flyway.MigrationFilter
- useFullyQualifiedModuleNames() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- useFullyQualifiedModuleNames() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Whether to use fully-qualified module names, i.e. rather use the fully-qualified package name instead of the local one.
- useFullyQualifiedModuleNames() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- useFullyQualifiedModuleNames() - Element in annotation interface org.springframework.modulith.Modulith
-
Whether to use fully qualified module names by default.
- useFullyQualifiedModuleNames() - Element in annotation interface org.springframework.modulith.Modulithic
-
Whether to use fully qualified module names by default.
- USES_COMPONENT - Enum constant in enum class org.springframework.modulith.core.DependencyType
-
Indicates that the module depends on the other one by a component dependency, i.e. that other module needs to be bootstrapped to run the source module.
- uuidToDatabase(UUID) - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
V
- V1 - Enum constant in enum class org.springframework.modulith.events.jdbc.JdbcRepositorySettings.SchemaVersion
- V2 - Enum constant in enum class org.springframework.modulith.events.jdbc.JdbcRepositorySettings.SchemaVersion
- value() - Element in annotation interface org.springframework.modulith.events.Externalized
-
The logical target name.
- value() - Element in annotation interface org.springframework.modulith.NamedInterface
-
The name(s) of the named interface.
- value() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
- value() - Element in annotation interface org.springframework.modulith.test.ModuleSlicing
- valueOf(String) - Static method in enum class org.springframework.modulith.ApplicationModule.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.core.DependencyDepth
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.core.DependencyType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.core.FormattableType.NonModuleTypeAbbreviation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.ElementsWithoutRelationships
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.events.EventPublication.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.events.ExternalizationMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.events.jdbc.DatabaseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.events.jdbc.JdbcRepositorySettings.SchemaVersion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.events.support.CompletionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.junit.Changes.OnNoChange
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.junit.diff.UncommittedChangesDetector
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.junit.diff.UnpushedCommitsDetector
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.moments.Quarter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.observability.ModulithMetrics.LowKeys
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.observability.ModulithMetrics
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.observability.ModulithObservations.HighKeys
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.observability.ModulithObservations.LowKeys
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.observability.ModulithObservations
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.observability.support.DefaultModulithObservationConvention
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.modulith.ApplicationModule.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.core.DependencyDepth
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.core.DependencyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.core.FormattableType.NonModuleTypeAbbreviation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.ElementsWithoutRelationships
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.events.EventPublication.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.events.ExternalizationMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.events.jdbc.DatabaseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.events.jdbc.JdbcRepositorySettings.SchemaVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.events.support.CompletionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.junit.Changes.OnNoChange
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.junit.diff.UncommittedChangesDetector
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.junit.diff.UnpushedCommitsDetector
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.moments.Quarter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.observability.ModulithMetrics.LowKeys
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.observability.ModulithMetrics
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.observability.ModulithObservations.HighKeys
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.observability.ModulithObservations.LowKeys
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.observability.ModulithObservations
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.observability.support.DefaultModulithObservationConvention
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VerificationOptions - Class in org.springframework.modulith.core
-
Options to customize application module verifications.
- verify() - Method in class org.springframework.modulith.core.ApplicationModules
-
Execute all verifications to be applied, unless the verification has been executed before.
- verify() - Method in class org.springframework.modulith.events.RoutingTarget
- verify() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Explicitly trigger the module structure verification.
- verify(VerificationOptions) - Method in class org.springframework.modulith.core.ApplicationModules
-
Execute all verifications to be applied considering the given
VerificationOptions, unless the verification has been executed before. - verify(DatabaseType) - Method in class org.springframework.modulith.events.jdbc.JdbcConfigurationProperties
- verifyAutomatically() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
-
Whether to automatically verify the module structure for validity.
- verifyAutomatically() - Element in annotation interface org.springframework.modulith.test.ModuleSlicing
-
Whether to automatically verify the module structure for validity.
- verifyDependencies(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
- verifyModule() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Verifies the setup of the module bootstrapped by this execution.
- Violation - Class in org.springframework.modulith.core
-
An individual architectural violation.
- Violation(String) - Constructor for class org.springframework.modulith.core.Violation
- Violations - Exception in org.springframework.modulith.core
-
Value type to gather and report architectural violations.
- VISIBLE - Enum constant in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.ElementsWithoutRelationships
W
- webEnvironment() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
-
The type of web environment to create when applicable.
- WeekHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEventpublished if a week has passed. - WeekHasPassed(Year, int, Locale) - Constructor for class org.springframework.modulith.moments.WeekHasPassed
- WeekHasPassedMixin() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.WeekHasPassedMixin
- When(BiFunction<TransactionOperations, ApplicationEventPublisher, T>, Consumer<T>, Function<ConditionFactory, ConditionFactory>) - Constructor for class org.springframework.modulith.test.Scenario.When
- WITH_ANNOTATIONS - Static variable in interface org.springframework.modulith.core.ModulithMetadata
- withAdditionalVerifications(ArchRule...) - Method in class org.springframework.modulith.core.VerificationOptions
-
Define the additional verifications to be executed.
- withAdditionalVerifications(Collection<ArchRule>) - Method in class org.springframework.modulith.core.VerificationOptions
-
Define the additional verifications to be executed.
- withApiBase(String) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Configures a URI string to act as the base of the Javadoc accessible for the types contained in the canvas.
- withBatchSize(int) - Method in class org.springframework.modulith.events.ResubmissionOptions
-
Configures the batch size with which to read publications from the database.
- withColorSelector(Function<ApplicationModule, Optional<String>>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A callback to return a hex-encoded color per
ApplicationModule. - withComponentFilter(Predicate<Component>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A
Predicateto define which StructurizrComponents to be included in the diagram to be created. - withDefaultDisplayName(Function<ApplicationModule, String>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A callback to return a default display names for a given
ApplicationModule. - withDependencyDepth(DependencyDepth) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
The
DependencyDepthto define which other modules to be included in the diagram to be created. - withDependencyTypes(DependencyType...) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Select the dependency types that are supposed to be included in the diagram to be created.
- withElementsWithoutRelationships(Documenter.DiagramOptions.ElementsWithoutRelationships) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Configuration setting to define whether modules that do not have a relationship to any other module shall be retained in the diagrams created.
- withExclusions(Predicate<ApplicationModule>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A
Predicateto define the which modules to exclude from the diagram to be created. - withFallback(RoutingTarget) - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- withFilter(Predicate<EventPublication>) - Method in class org.springframework.modulith.events.ResubmissionOptions
-
Configures which
EventPublications to resubmit in a re-submission attempt. - withGranularity(MomentsProperties.Granularity) - Method in class org.springframework.modulith.moments.support.MomentsProperties
- withinRootPackages(String) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns whether the given type is contained in one of the root packages (not including sub-packages) of the modules.
- withItemsToRead(long) - Method in class org.springframework.modulith.events.core.EventPublicationRepository.FailedCriteria
- withJavadocBase(ApplicationModules, String) - Static method in class org.springframework.modulith.docs.Asciidoctor
-
Creates a new
Asciidoctorinstance for the givenApplicationModulesand Javadoc base URI. - withKey(String) - Method in class org.springframework.modulith.events.RoutingTarget
-
Creates a new
RoutingTargetwith the same target but the given routing key. - withLocale(Locale) - Method in class org.springframework.modulith.moments.support.MomentsProperties
- withMaxInFlight(int) - Method in class org.springframework.modulith.events.ResubmissionOptions
-
Configures the number of publications that are supposed to be in flight concurrently.
- withMinAge(Duration) - Method in class org.springframework.modulith.events.ResubmissionOptions
-
Configures the minimum age of event publications to qualify for re-submission.
- withNestedPackages(JavaPackage) - Method in interface org.springframework.modulith.core.ApplicationModuleSource.ApplicationModuleSourceMetadata
-
Return a
StreamofJavaPackages that are - without(JavaPackages) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns a new JavaPac
- withoutAdditionalVerifications() - Method in class org.springframework.modulith.core.VerificationOptions
-
Disables the additional verifications registered by default.
- withoutClean() - Method in class org.springframework.modulith.docs.Documenter.Options
-
Disables the cleaning of the output folder before any files are written.
- withoutDefaultGroupings() - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Creates a
Documenter.CanvasOptionsinstance that does not register any default componentDocumenter.CanvasOptions.Groupings. - withoutJavadocBase(ApplicationModules) - Static method in class org.springframework.modulith.docs.Asciidoctor
-
Creates a new
Asciidoctorinstance for the givenApplicationModules. - withoutKey() - Method in class org.springframework.modulith.events.RoutingTarget.RoutingTargetBuilder
-
Returns a new
RoutingTargetwithout a key. - withoutModule(String) - Static method in class org.springframework.modulith.core.ApplicationModules.Filters
- withoutModules(String...) - Static method in class org.springframework.modulith.core.ApplicationModules.Filters
- withOutputFolder(String) - Method in class org.springframework.modulith.docs.Documenter.Options
-
Configures the output folder for the created files.
- withPublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.core.EventPublicationRepository.FailedCriteria
- withRepository(ThrowingFunction<Repository, T>) - Static method in interface org.springframework.modulith.junit.diff.JGitUtil
- withSkinParam(String, String) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Configuration setting to add arbitrary skin parameters to the created diagrams.
- withStyle(Documenter.DiagramOptions.DiagramStyle) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Which style to render the diagram in.
- withTarget(String) - Method in class org.springframework.modulith.events.RoutingTarget
- withTargetFileName(String) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Configures the target file name for the canvas to be written.
- withTargetFileName(String) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
The target file name to be used for the diagram to be created.
- withTargetOnly(Predicate<ApplicationModule>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A
Predicateto define which of the modules shall only be considered targets, i.e. all efferent relationships are going to be hidden from the rendered view. - withTry(Supplier<A>, ThrowingFunction<A, T>) - Static method in interface org.springframework.modulith.junit.diff.JGitUtil
- withTry(ThrowingSupplier<T>) - Static method in interface org.springframework.modulith.junit.diff.JGitUtil
- withType(DependencyType) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns a new
ApplicationModuleDependenciesinstance containing only the dependencies of the givenDependencyType. - withZoneId(ZoneId) - Method in class org.springframework.modulith.moments.support.MomentsProperties
- WorkingDirectoryChangesDetector - Class in org.springframework.modulith.junit.diff
-
A
FileModificationDetectorthat filters theModifiedFileinstances returned by a delegateFileModificationDetectorto only contain those nested in the current, repository-relative working directory. - WorkingDirectoryChangesDetector(FileModificationDetector, String) - Constructor for class org.springframework.modulith.junit.diff.WorkingDirectoryChangesDetector
-
Creates a new
WorkingDirectoryChangesDetectorfor the givenFileModificationDetectordelegate and directory; - writeAggregatingDocument() - Method in class org.springframework.modulith.docs.Documenter
-
Writes aggregating document called
all-docs.adocthat includes any existing component diagrams and canvases. usingDocumenter.DiagramOptions.defaults()andDocumenter.CanvasOptions.defaults(). - writeAggregatingDocument(Documenter.DiagramOptions, Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes aggregating document called
all-docs.adocthat includes any existing component diagrams and canvases. - writeDocumentation() - Method in class org.springframework.modulith.docs.Documenter
-
Writes all available documentation: The entire set of modules as overview component diagram. Individual component diagrams per module to include all upstream modules. The Module Canvas for each module. using
Documenter.DiagramOptions.defaults()andDocumenter.CanvasOptions.defaults(). - writeDocumentation(Documenter.DiagramOptions, Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes all available documentation: The entire set of modules as overview component diagram. Individual component diagrams per module to include all upstream modules. The Module Canvas for each module.
- writeIndividualModulesAsPlantUml() - Method in class org.springframework.modulith.docs.Documenter
- writeIndividualModulesAsPlantUml(Documenter.DiagramOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes the component diagrams for all individual modules.
- writeModuleAsPlantUml(ApplicationModule) - Method in class org.springframework.modulith.docs.Documenter
-
Writes the PlantUML component diagram for the given
ApplicationModule. - writeModuleAsPlantUml(ApplicationModule, Documenter.DiagramOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes the PlantUML component diagram for the given
ApplicationModulewith the given renderingDocumenter.DiagramOptions. - writeModuleCanvases() - Method in class org.springframework.modulith.docs.Documenter
-
Writes all module canvases using
Documenter.DiagramOptions.defaults(). - writeModuleCanvases(Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes all module canvases using the given
Documenter.DiagramOptions. - writeModuleMetadata() - Method in class org.springframework.modulith.docs.Documenter
-
Writes application module metadata to the build folder for inclusion at runtime.
- writeModulesAsPlantUml() - Method in class org.springframework.modulith.docs.Documenter
-
Writes the PlantUML component diagram for all
ApplicationModulesusingDocumenter.DiagramOptions.defaults(). - writeModulesAsPlantUml(Documenter.DiagramOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes the PlantUML component diagram for all
ApplicationModuleswith the givenDocumenter.DiagramOptions. - writeTableRow(String...) - Static method in class org.springframework.modulith.docs.Asciidoctor
- writeToFile(String, String) - Method in class org.springframework.modulith.docs.Documenter.OutputFolder
Y
- YearHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEventpublished on the last day of the year. - YearHasPassedMixin() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsJacksonAutoConfiguration.MomentsJacksonModule.YearHasPassedMixin
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
EventExternalizerModuleListenerinstead.