Class PriorityListCheck

  • All Implemented Interfaces:
    Check
    Direct Known Subclasses:
    PairCheckBundle

    public class PriorityListCheck
    extends java.lang.Object
    implements Check
    Wraps more than one check into one. Each check will look for failure in the given order. Once failure is found the rest of the checks are ignored.

    This is used for example by the conflict-subsubsumption-redundancy chain. Where conflict, when found, blocks subsumption.
    • Constructor Detail

      • PriorityListCheck

        public PriorityListCheck​(java.util.List<Check> filteredSet)
    • Method Detail

      • getIssue

        public org.drools.verifier.api.reporting.Issue getIssue()
        Specified by:
        getIssue in interface Check
      • hasIssues

        public boolean hasIssues()
        Specified by:
        hasIssues in interface Check
      • check

        public boolean check()
        Specified by:
        check in interface Check