Class CompatibilityRuleExecutor
- java.lang.Object
-
- io.apicurio.registry.rules.compatibility.CompatibilityRuleExecutor
-
- All Implemented Interfaces:
RuleExecutor
@ApplicationScoped public class CompatibilityRuleExecutor extends Object implements RuleExecutor
Rule executor for the "Compatibility" rule. The Compatibility Rule is responsible for ensuring that the updated content does not violate the configured compatibility level. Levels include e.g. Backward compatibility.- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description CompatibilityRuleExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(RuleContext context)
Executes the logic of the rule against the given context.
-
-
-
Method Detail
-
execute
public void execute(RuleContext context) throws RuleViolationException
Description copied from interface:RuleExecutor
Executes the logic of the rule against the given context. The context contains all data and meta-data necessary to execute the rule logic.- Specified by:
execute
in interfaceRuleExecutor
- Throws:
RuleViolationException
- See Also:
RuleExecutor.execute(io.apicurio.registry.rules.RuleContext)
-
-