@Immutable public final class MongoEmbeddedSettings extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
MongoEmbeddedSettings.Builder |
A builder for
MongoEmbeddedSettings so that MongoEmbeddedSettings can be immutable, and to support easier
construction through chaining. |
static class |
MongoEmbeddedSettings.LogLevel |
LogLevel represents the supported logging levels for the embedded mongod
|
Modifier and Type | Method | Description |
---|---|---|
static MongoEmbeddedSettings.Builder |
builder() |
Convenience method to create a Builder.
|
static MongoEmbeddedSettings.Builder |
builder(MongoEmbeddedSettings settings) |
Convenience method to create a from an existing
MongoClientSettings . |
String |
getLibraryPath() |
Gets the library path for the embedded mongod
|
MongoEmbeddedSettings.LogLevel |
getLogLevel() |
Gets the logging level for the embedded mongod
|
String |
getYamlConfig() |
Returns the yaml configuration for mongod.
|
public static MongoEmbeddedSettings.Builder builder()
public static MongoEmbeddedSettings.Builder builder(MongoEmbeddedSettings settings)
MongoClientSettings
.settings
- create a builder from existing settingspublic String getLibraryPath()
public String getYamlConfig()
public MongoEmbeddedSettings.LogLevel getLogLevel()