Interface MongoJsonSchema.ConflictResolutionFunction.Resolution
- Enclosing interface:
MongoJsonSchema.ConflictResolutionFunction
-
Field Summary
FieldsModifier and TypeFieldDescriptionResolution -
Method Summary
Modifier and TypeMethodDescriptionConstruct a resolution from akeyandvalue.ofValue(MongoJsonSchema.ConflictResolutionFunction.Path path, Object value) Construct a resolution for aMongoJsonSchema.ConflictResolutionFunction.Pathusing the givenvalue.default Objectskip()Obtain aMongoJsonSchema.ConflictResolutionFunction.Resolutionthat will skip the entry and proceed computation.
-
Field Details
-
SKIP
Resolution
-
-
Method Details
-
setValue
-
skip
Obtain aMongoJsonSchema.ConflictResolutionFunction.Resolutionthat will skip the entry and proceed computation.- Returns:
- never null.
-
ofValue
static MongoJsonSchema.ConflictResolutionFunction.Resolution ofValue(MongoJsonSchema.ConflictResolutionFunction.Path path, Object value) Construct a resolution for aMongoJsonSchema.ConflictResolutionFunction.Pathusing the givenvalue.- Parameters:
path- the conflicting path.value- the value to apply.- Returns:
-
ofValue
static MongoJsonSchema.ConflictResolutionFunction.Resolution ofValue(@Nullable String key, Object value) Construct a resolution from akeyandvalue.- Parameters:
key- name of the path segment, typicallyMongoJsonSchema.ConflictResolutionFunction.Path.currentElement()value- the value to apply.- Returns:
-