Interface Validator
- All Known Implementing Classes:
AggregationOutputTypeValidator, AggregationValidator, AllowedValuesValidator, ConflictingRuleValidator, ConnectedRequirementGraphValidator, DecisionIdAndNameValidator, DecisionTableValidator, DefinitionsIdAndNameValidator, DuplicateColumnLabelValidator, DuplicateRuleValidator, ElementTypeDeclarationValidator, GenericValidator, IdAndNameValidator, InputDataIdAndNameValidator, InputEntryTypeValidator, InputTypeDeclarationValidator, InputValuesTypeValidator, ItemDefinitionAllowedValuesTypeValidator, ItemDefinitionIdAndNameValidator, KnowledgeSourceIdAndNameValidator, LiteralExpressionValidator, MergeableRulesValidator, NoDecisionPresentValidator, OutputEntryTypeValidator, OutputTypeDeclarationValidator, OutputValuesTypeValidator, OverlappingRuleValidator, RequirementGraphLeafValidator, RequirementGraphValidator, ShadowedRuleValidator, SimpleValidator, TypeValidator
public interface Validator
Generic interface for the validation of DMN model instances.
Every validation for dmn-check has to implement this interface.
-
Method Summary
Modifier and TypeMethodDescriptionapply(org.operaton.bpm.model.dmn.DmnModelInstance dmnModelInstance) Validates the given DMN model instance and returns the validation results as a list.default List<ValidationResult> applyWithDocumentation(org.operaton.bpm.model.dmn.DmnModelInstance dmnModelInstance) Validates the given DMN model instance and attaches the documentation of this validator to the results.Link to a detailed description of the problems reported by this validator and how to solve them.
-
Method Details
-
apply
Validates the given DMN model instance and returns the validation results as a list.- Parameters:
dmnModelInstance- DMN model instance used for validation- Returns:
- A possibly empty list of validation results
-
documentation
-
applyWithDocumentation
default List<ValidationResult> applyWithDocumentation(org.operaton.bpm.model.dmn.DmnModelInstance dmnModelInstance) Validates the given DMN model instance and attaches the documentation of this validator to the results.- Parameters:
dmnModelInstance- DMN model instance used for validation- Returns:
- A possibly empty list of validation results
-