private static Class<?> validateDataType(PlcTag plcTag) throws ScraperConfigurationException {
        if(plcTag !=null){
            Class<?> javaDataType = plcTag.getPlcValueType().getDefaultJavaType();
            if(!javaDataType.equals(Boolean.class)
                && !javaDataType.equals(Integer.class)
                && !javaDataType.equals(Long.class)
                && !javaDataType.equals(Double.class)
            ){
                String exceptionMessage = String.format("Unsupported plc-trigger variable %s with converted data-type %s used", plcTag, plcTag.getPlcValueType().getDefaultJavaType());
                throw new ScraperConfigurationException(exceptionMessage);
            }
            return javaDataType;
        }
        else{
            String exceptionMessage = "Null plc-trigger variable used";
            throw new ScraperConfigurationException(exceptionMessage);
        }

    }
defines the used base type for comparison
@return the detected base type
@throws ScraperException when an unsupported Type is chosen,which is not (yet) implemented for comparison
ToDo check how to handle time-variables if needed
plc4j/tools/scraper/src/main/java/org/apache/plc4x/java/scraper/triggeredscraper/triggerhandler/TriggerConfiguration.java