Package | Description |
---|---|
io.apicurio.registry.rules.compatibility.jsonschema.diff |
Modifier and Type | Method and Description |
---|---|
static DiffType |
DiffType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffType[] |
DiffType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DiffContext.addDifference(DiffType type,
Object originalSubchema,
Object updatedSubchema) |
static void |
DiffUtil.compareSchema(DiffContext ctx,
org.everit.json.schema.Schema original,
org.everit.json.schema.Schema updated,
DiffType addedType,
DiffType removedType,
DiffType bothType,
DiffType backwardNotForwardType,
DiffType forwardNotBackwardType,
DiffType none) |
static boolean |
DiffUtil.diffAddedRemoved(DiffContext ctx,
Object original,
Object updated,
DiffType addedType,
DiffType removedType)
added/removed
|
static void |
DiffUtil.diffBooleanTransition(DiffContext ctx,
Boolean original,
Boolean updated,
Boolean defaultValue,
DiffType changeFalseToTrue,
DiffType changeTrueToFalse,
DiffType unchanged) |
static boolean |
DiffUtil.diffInteger(DiffContext ctx,
Integer original,
Integer updated,
DiffType addedType,
DiffType removedType,
DiffType increasedType,
DiffType decreasedType)
added/removed/increased/decreased
|
static boolean |
DiffUtil.diffNumber(DiffContext ctx,
Number original,
Number updated,
DiffType addedType,
DiffType removedType,
DiffType increasedType,
DiffType decreasedType)
added/removed/increased/decreased
|
static void |
DiffUtil.diffNumberOriginalMultipleOfUpdated(DiffContext ctx,
Number original,
Number updated,
DiffType multipleOfType,
DiffType notMultipleOfType) |
static void |
DiffUtil.diffObject(DiffContext ctx,
Object original,
Object updated,
DiffType addedType,
DiffType removedType,
DiffType changedType)
added/removed/changed (using equals)
|
static void |
DiffUtil.diffObjectDefault(DiffContext ctx,
Object original,
Object updated,
Object defaultValue,
DiffType addedType,
DiffType removedType,
DiffType changedType)
added/removed/changed (using equals), with a default value specified
|
static boolean |
DiffUtil.diffObjectIdentity(DiffContext ctx,
Object original,
Object updated,
DiffType addedType,
DiffType removedType,
DiffType changedType)
added/removed/changed (using ==)
|
static <T> void |
DiffUtil.diffSetChanged(DiffContext ctx,
Set<T> original,
Set<T> updated,
DiffType addedType,
DiffType removedType,
DiffType changedType,
DiffType addedMemberType,
DiffType removedMemberType) |
static boolean |
DiffUtil.diffSubschemaAddedRemoved(DiffContext ctx,
Object original,
Object updated,
DiffType addedType,
DiffType removedType) |
Copyright © 2020 Red Hat. All rights reserved.