@ConfigurationProperties(value="micronaut.data.mongodb")
public final class MongoDataConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MongoDataConfiguration.DriverType
The driver type.
|
static class |
MongoDataConfiguration.NotReactiveDriverSelectedCondition
Not reactive driver condition.
|
static class |
MongoDataConfiguration.NotSyncDriverSelectedCondition
Not sync driver condition.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CREATE_COLLECTIONS_PROPERTY |
static java.lang.String |
DATABASE_CONFIGURATION_ERROR_MESSAGE |
static java.lang.String |
DRIVER_TYPE_PROPERTY |
static java.lang.String |
DRIVER_TYPE_REACTIVE |
static java.lang.String |
DRIVER_TYPE_SYNC |
static java.lang.String |
PREFIX |
Constructor and Description |
---|
MongoDataConfiguration() |
Modifier and Type | Method and Description |
---|---|
MongoDataConfiguration.DriverType |
getDriverType() |
boolean |
isCreateCollections() |
void |
setCreateCollections(boolean createCollections) |
void |
setDriverType(MongoDataConfiguration.DriverType driverType) |
public static final java.lang.String PREFIX
public static final java.lang.String CREATE_COLLECTIONS_PROPERTY
public static final java.lang.String DRIVER_TYPE_PROPERTY
public static final java.lang.String DRIVER_TYPE_SYNC
public static final java.lang.String DRIVER_TYPE_REACTIVE
public static final java.lang.String DATABASE_CONFIGURATION_ERROR_MESSAGE
public boolean isCreateCollections()
public void setCreateCollections(boolean createCollections)
public MongoDataConfiguration.DriverType getDriverType()
public void setDriverType(MongoDataConfiguration.DriverType driverType)