Class JdbcRepositorySettings
java.lang.Object
org.springframework.modulith.events.jdbc.JdbcRepositorySettings
Internal abstraction of customization options for
JdbcEventPublicationRepository
.- Since:
- 1.3
- Author:
- Oliver Drotbohm
-
Constructor Summary
ConstructorDescriptionJdbcRepositorySettings
(DatabaseType databaseType, CompletionMode completionMode, String schema) -
Method Summary
Modifier and TypeMethodDescriptionReturns theDatabaseType
.Return the schema to be used.boolean
Returns whether we use the archiving completion mode.boolean
Returns whether we use the deleting completion mode.boolean
Returns whether we use the updating completion mode.
-
Constructor Details
-
JdbcRepositorySettings
JdbcRepositorySettings(DatabaseType databaseType, CompletionMode completionMode, @Nullable String schema) - Parameters:
databaseType
- must not be null.schema
- can be nullcompletionMode
- must not be null.
-
-
Method Details
-
getDatabaseType
Returns theDatabaseType
.- Returns:
- will never be null.
-
getSchema
Return the schema to be used.- Returns:
- can be null.
-
isDeleteCompletion
public boolean isDeleteCompletion()Returns whether we use the deleting completion mode. -
isArchiveCompletion
public boolean isArchiveCompletion()Returns whether we use the archiving completion mode. -
isUpdateCompletion
public boolean isUpdateCompletion()Returns whether we use the updating completion mode.
-