public static interface MongoJsonSchema.ConflictResolutionFunction.Resolution extends Map.Entry<String,Object>
skip
the entry
entirely.Modifier and Type | Field and Description |
---|---|
static MongoJsonSchema.ConflictResolutionFunction.Resolution |
SKIP
Resolution
|
Modifier and Type | Method and Description |
---|---|
static MongoJsonSchema.ConflictResolutionFunction.Resolution |
ofValue(MongoJsonSchema.ConflictResolutionFunction.Path path,
Object value)
Construct a resolution for a
MongoJsonSchema.ConflictResolutionFunction.Path using the given value . |
static MongoJsonSchema.ConflictResolutionFunction.Resolution |
ofValue(String key,
Object value)
Construct a resolution from a
key and value . |
default Object |
setValue(Object value) |
static MongoJsonSchema.ConflictResolutionFunction.Resolution |
skip()
Obtain a
MongoJsonSchema.ConflictResolutionFunction.Resolution that will skip the entry and proceed computation. |
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, getKey, getValue, hashCode
static final MongoJsonSchema.ConflictResolutionFunction.Resolution SKIP
static MongoJsonSchema.ConflictResolutionFunction.Resolution skip()
MongoJsonSchema.ConflictResolutionFunction.Resolution
that will skip the entry and proceed computation.static MongoJsonSchema.ConflictResolutionFunction.Resolution ofValue(MongoJsonSchema.ConflictResolutionFunction.Path path, Object value)
MongoJsonSchema.ConflictResolutionFunction.Path
using the given value
.path
- the conflicting path.value
- the value to apply.static MongoJsonSchema.ConflictResolutionFunction.Resolution ofValue(String key, Object value)
key
and value
.key
- name of the path segment, typically MongoJsonSchema.ConflictResolutionFunction.Path.currentElement()
value
- the value to apply.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.