public class AvroCompatibilityChecker extends Object implements CompatibilityChecker
Constructor and Description |
---|
AvroCompatibilityChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatibleWith(CompatibilityLevel compatibilityLevel,
List<String> existingSchemaStrings,
String proposedSchemaString) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompatibleWith
public boolean isCompatibleWith(CompatibilityLevel compatibilityLevel, List<String> existingSchemaStrings, String proposedSchemaString)
isCompatibleWith
in interface CompatibilityChecker
compatibilityLevel
- MUST NOT be nullexistingSchemaStrings
- 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
)proposedSchemaString
- MUST NOT be nullCompatibilityChecker.isCompatibleWith(io.apicurio.registry.rules.compatibility.CompatibilityLevel, java.util.List, java.lang.String)
Copyright © 2020 Red Hat. All rights reserved.