@FunctionalInterface public static interface MongoJsonSchema.ConflictResolutionFunction
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MongoJsonSchema.ConflictResolutionFunction.Path |
static interface |
MongoJsonSchema.ConflictResolutionFunction.Resolution
The result after processing a conflict when merging schemas.
|
| Modifier and Type | Method and Description |
|---|---|
MongoJsonSchema.ConflictResolutionFunction.Resolution |
resolveConflict(MongoJsonSchema.ConflictResolutionFunction.Path path,
Object left,
Object right)
Resolve the conflict for two values under the same
path. |
MongoJsonSchema.ConflictResolutionFunction.Resolution resolveConflict(MongoJsonSchema.ConflictResolutionFunction.Path path, @Nullable Object left, @Nullable Object right)
path.path - the MongoJsonSchema.ConflictResolutionFunction.Path leading to the conflict.left - can be null.right - can be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.