public interface RuleRegistry
You can add a rule directly in the DSL with the method ValidationRule.registerOn(RuleRegistry).
| Modifier and Type | Method and Description |
|---|---|
void |
register(ValidationRule rule)
Adds the given rule to this registry.
|
java.util.stream.Stream<ValidationRule> |
stream()
Stream the rules of this registry.
|
void register(ValidationRule rule)
rule - the rule to registerjava.util.stream.Stream<ValidationRule> stream()