Package io.micronaut.data.mongodb.conf
Class MongoDataConfiguration
java.lang.Object
io.micronaut.data.mongodb.conf.MongoDataConfiguration
@ConfigurationProperties("micronaut.data.mongodb")
public final class MongoDataConfiguration
extends Object
Micronaut Data MongoDB integration configuration.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The driver type.static final class
Not reactive driver condition.static final class
Not sync driver condition. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setCreateCollections
(boolean createCollections) void
setDriverType
(MongoDataConfiguration.DriverType driverType) void
setIgnoreJsonViews
(boolean ignoreJsonViews)
-
Field Details
-
PREFIX
- See Also:
-
CREATE_COLLECTIONS_PROPERTY
- See Also:
-
DRIVER_TYPE_PROPERTY
- See Also:
-
JSON_VIEWS_PROPERTY
- See Also:
-
DRIVER_TYPE_SYNC
-
DRIVER_TYPE_REACTIVE
-
DATABASE_CONFIGURATION_ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
MongoDataConfiguration
public MongoDataConfiguration()
-
-
Method Details
-
isCreateCollections
public boolean isCreateCollections() -
setCreateCollections
public void setCreateCollections(boolean createCollections) -
isIgnoreJsonViews
public boolean isIgnoreJsonViews() -
setIgnoreJsonViews
public void setIgnoreJsonViews(boolean ignoreJsonViews) -
getDriverType
-
setDriverType
-