private ConcatType detectConcatType(String concat) throws ScraperConfigurationException {
            //concat is not necessary in every case, correct usage is checked later on
            if(concat==null){
                return null;
            }
            switch (concat){
                case "AND":
                    return ConcatType.AND;
                case "OR":
                    return ConcatType.OR;
                default:
                    throw new ScraperConfigurationException("Invalid concat between triggerVars detected: "+concat);
            }
        }
convertes parsed comparator from regex to ComparatorType
@throws ScraperException when no valid comparator has been used
plc4j/tools/scraper/src/main/java/org/apache/plc4x/java/scraper/triggeredscraper/triggerhandler/TriggerConfiguration.java