public class JsonCompatibilityChecker extends Object implements CompatibilityChecker
Constructor and Description |
---|
JsonCompatibilityChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatibleWith(CompatibilityLevel compatibilityLevel,
List<String> existingSchemas,
String proposedSchema) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompatibleWith
public boolean isCompatibleWith(CompatibilityLevel compatibilityLevel, List<String> existingSchemas, String proposedSchema)
isCompatibleWith
in interface CompatibilityChecker
compatibilityLevel
- MUST NOT be nullexistingSchemas
- MUST NOT be null and MUST NOT contain null elements,
but may be empty if the rule is executed and the artifact does not exist
(e.g. a global COMPATIBILITY rule with RuleApplicationType.CREATE
)proposedSchema
- MUST NOT be nullCompatibilityChecker.isCompatibleWith(io.apicurio.registry.rules.compatibility.CompatibilityLevel, java.util.List, java.lang.String)
Copyright © 2020 Red Hat. All rights reserved.