private void matchTypeAndComparator() throws ScraperConfigurationException {
            if(validateDataType(this.plcTag).equals(Boolean.class)
                && !(this.comparatorType.equals(Comparator.EQUAL) || this.comparatorType.equals(Comparator.UNEQUAL))){
                String exceptionMessage = String.format("Trigger-Data-Type (%s) and Comparator (%s) do not match",this.plcTag.getPlcValueType().getDefaultJavaType(),this.comparatorType);
                throw new ScraperConfigurationException(exceptionMessage);
            }
            //all other combinations are valid
        }
matches data-type and comparator for a valid combination
@throws ScraperException when invalid combination is detected
plc4j/tools/scraper/src/main/java/org/apache/plc4x/java/scraper/triggeredscraper/triggerhandler/TriggerConfiguration.java