Uses of Class
io.apicurio.registry.rules.compatibility.jsonschema.diff.DiffContext
-
Packages that use DiffContext Package Description io.apicurio.registry.rules.compatibility.jsonschema io.apicurio.registry.rules.compatibility.jsonschema.diff -
-
Uses of DiffContext in io.apicurio.registry.rules.compatibility.jsonschema
Methods in io.apicurio.registry.rules.compatibility.jsonschema that return DiffContext Modifier and Type Method Description static DiffContext
JsonSchemaDiffLibrary. findDifferences(String original, String updated)
Find and analyze differences between two JSON schemas.static DiffContext
JsonSchemaDiffLibrary. findDifferences(org.everit.json.schema.Schema originalSchema, org.everit.json.schema.Schema updatedSchema)
-
Uses of DiffContext in io.apicurio.registry.rules.compatibility.jsonschema.diff
Methods in io.apicurio.registry.rules.compatibility.jsonschema.diff that return DiffContext Modifier and Type Method Description static DiffContext
DiffContext. createRootContext()
static DiffContext
DiffContext. createRootContext(String basePathFragmentUpdated, Set<org.everit.json.schema.SchemaLocation> visited)
DiffContext
DiffContext. sub(String pathFragmentUpdated)
Methods in io.apicurio.registry.rules.compatibility.jsonschema.diff with parameters of type DiffContext Modifier and Type Method Description static boolean
DiffUtil. areListOfSchemasCompatible(DiffContext ctx, List<SchemaWrapper> itemSchemas, SchemaWrapper additionalSchema, boolean notReverse)
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 noneType)
static void
DiffUtil. compareSchemaWhenExist(DiffContext ctx, org.everit.json.schema.Schema original, org.everit.json.schema.Schema updated, DiffType bothType, DiffType backwardType, DiffType forwardType, DiffType noneType)
static boolean
DiffUtil. diffAddedRemoved(DiffContext ctx, Object original, Object updated, DiffType addedType, DiffType removedType)
added/removedstatic boolean
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/decreasedstatic boolean
DiffUtil. diffNumber(DiffContext ctx, Number original, Number updated, DiffType addedType, DiffType removedType, DiffType increasedType, DiffType decreasedType)
added/removed/increased/decreasedstatic 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 specifiedstatic boolean
DiffUtil. diffObjectIdentity(DiffContext ctx, Object original, Object updated, Object target, DiffType addedType, DiffType removedType, DiffType extendedType, DiffType narrowedType, DiffType changedType)
added/removed/changed (using ==)static void
DiffUtil. diffSchemaOrTrue(DiffContext ctx, org.everit.json.schema.Schema original, org.everit.json.schema.Schema updated, DiffType bothType, DiffType extendedType, DiffType narrowedType, DiffType noneType)
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)
static void
DiffUtil. diffSubSchemasAdded(DiffContext ctx, List<SchemaWrapper> addedSchemas, boolean originalPermitsAdditional, SchemaWrapper originalSchemaOfAdditional, boolean updatedPermitsAdditional, DiffType extendedType, DiffType narrowedType, DiffType changedType)
static void
DiffUtil. diffSubSchemasRemoved(DiffContext ctx, List<SchemaWrapper> removedSchemas, boolean updatedPermitsAdditional, SchemaWrapper updatedSchemaOfAdditional, boolean originalPermitsAdditional, DiffType narrowedType, DiffType extendedType, DiffType changedType)
static <T> T
DiffUtil. getExceptionally(DiffContext ctx, Supplier<T> getter)
Use getter and return null if there is an exception.static boolean
DiffUtil. isSchemaCompatible(DiffContext ctx, org.everit.json.schema.Schema original, org.everit.json.schema.Schema updated, boolean backward)
Constructors in io.apicurio.registry.rules.compatibility.jsonschema.diff with parameters of type DiffContext Constructor Description ArraySchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.ArraySchema original)
BooleanSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.BooleanSchema original)
CombinedSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.CombinedSchema original)
ConditionalSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.ConditionalSchema original)
ConstSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.ConstSchema original)
EnumSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.EnumSchema original)
NotSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.NotSchema original)
NullSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.NullSchema original)
NumberSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.NumberSchema original)
ObjectSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.ObjectSchema original)
PrimitiveSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.Schema original)
This visitor accepts any schema, so the checks that would be otherwise done by the caller, are made by this visitor.ReferenceSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.Schema original)
SchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.Schema original)
StringSchemaDiffVisitor(DiffContext ctx, org.everit.json.schema.StringSchema original)
-