Class RequirementGraphValidator
java.lang.Object
de.redsix.dmncheck.validators.core.RequirementGraphValidator
- All Implemented Interfaces:
Validator
- Direct Known Subclasses:
ConnectedRequirementGraphValidator
,RequirementGraphLeafValidator
Generic validator that facilitates writing validations on graph-based representation of the DMN model instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(org.camunda.bpm.model.dmn.DmnModelInstance dmnModelInstance) Validates the given DMN model instance and returns the validation results as a list.protected abstract List<ValidationResult>
validate
(RequirementGraph drg) Returns a list of validation results for a requirement graph (seeRequirementGraph
).
-
Constructor Details
-
RequirementGraphValidator
public RequirementGraphValidator()
-
-
Method Details
-
validate
Returns a list of validation results for a requirement graph (seeRequirementGraph
).- Parameters:
drg
- Requirement graph used for validation- Returns:
- A possibly empty list of validation results
-
apply
Description copied from interface:Validator
Validates the given DMN model instance and returns the validation results as a list.
-