Class SimpleValidator<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>

java.lang.Object
de.redsix.dmncheck.validators.core.GenericValidator<T,T>
de.redsix.dmncheck.validators.core.SimpleValidator<T>
Type Parameters:
T - Class that is used for validation and for the applicability check
All Implemented Interfaces:
Validator
Direct Known Subclasses:
AggregationValidator, ConflictingRuleValidator, DuplicateColumnLabelValidator, DuplicateRuleValidator, ElementTypeDeclarationValidator, IdAndNameValidator, NoDecisionPresentValidator, ShadowedRuleValidator, TypeValidator

public abstract class SimpleValidator<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance> extends GenericValidator<T,T>
A simple validator is a GenericValidator where the validation (T) and applicability check (S) type are always the same.
  • Constructor Details

    • SimpleValidator

      public SimpleValidator()
  • Method Details

    • getClassUsedToCheckApplicability

      public Class<T> getClassUsedToCheckApplicability()
      Description copied from class: GenericValidator
      Auxiliary method to determine the class used for the applicability check.
      Specified by:
      getClassUsedToCheckApplicability in class GenericValidator<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance,T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
      Returns:
      Class used to check whether the validation is applicable