fr.fezlight.eventsystem.config.properties.EventMongodbProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-starter-event-system-mongodb Show documentation
Show all versions of spring-boot-starter-event-system-mongodb Show documentation
This module is the MongoDB implementation for event system based on Spring Modulith MongoDB.
The newest version!
package fr.fezlight.eventsystem.config.properties;
import jakarta.validation.constraints.NotNull;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
@Validated
@ConfigurationProperties("events.mongodb")
public class EventMongodbProperties {
@NotNull
private String databaseName;
public @NotNull String getDatabaseName() {
return this.databaseName;
}
public void setDatabaseName(@NotNull String databaseName) {
this.databaseName = databaseName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy