@groovy.transform.CompileStatic @groovy.util.logging.Slf4j class MongoClientOptionsBuilder extends java.lang.Object
Helper class for building com.mongodb.MongoClientSettings from a org.springframework.core.env.PropertyResolver
Modifiers | Name | Description |
---|---|---|
private com.mongodb.ConnectionString |
connectionString |
|
private java.lang.String |
databaseName |
|
private java.lang.String |
host |
|
private com.mongodb.MongoCredential |
mongoCredential |
|
private java.lang.String |
password |
|
private java.lang.String |
prefix |
|
private org.springframework.core.env.PropertyResolver |
propertyResolver |
|
private java.lang.String |
uAndP |
|
private java.lang.String |
username |
Type | Name and description |
---|---|
java.lang.String |
databaseName |
org.springframework.core.env.PropertyResolver |
propertyResolver |
Constructor and description |
---|
MongoClientOptionsBuilder
(org.springframework.core.env.PropertyResolver propertyResolver) |
MongoClientOptionsBuilder
(org.springframework.core.env.PropertyResolver propertyResolver, java.lang.String databaseName) |
Type Params | Return Type | Name and description |
---|---|---|
|
private void |
applyConnectionString(java.lang.Object newBuilder, com.mongodb.ConnectionString connectionString) |
|
com.mongodb.MongoClientSettings$Builder |
build() |
|
private java.lang.Object |
buildInternal(java.lang.Object builder, java.lang.String startingPrefix, boolean root) |
|
private java.lang.Object |
doBuild(java.lang.Object builder) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation