Interface Validator.Rule
-
- All Implemented Interfaces:
public interface Validator.Rule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classValidator.Rule.Violation
-
Method Summary
Modifier and Type Method Description abstract Validator.Rule.Violationvalidate(String cypher, Map<String, Object> parameters)Validate the cypher and parameters. Validator.Rulethen(Validator.Rule that)Run thisValidator.Rule then that.-
-
Method Detail
-
validate
abstract Validator.Rule.Violation validate(String cypher, Map<String, Object> parameters)
Validate the cypher and parameters.
- Parameters:
cypher- a Cypher queryparameters- the cypher parameters- Returns:
Violation if the cypher and parameters violate the Rule, otherwise
null
-
then
Validator.Rule then(Validator.Rule that)
Run
thisValidator.Rule then that.- Parameters:
that- the Validator.Rule to chain withthis- Returns:
a Validator.Rule that invokes
thisthen that
-
-
-
-