@Override
    public boolean checkTrigger(){
        switch (this.triggerConfiguration.getTriggerType()){
            case SCHEDULED:
                //used base scheduling -> trigger is always true
                return true;
            case S7_TRIGGER_VAR:
                return checkS7TriggerVariable();
            case TRIGGER_VAR:
                return checkGenericTrigger();
            default:
                //should not happen
                return false;
        }
    }
checks rising edge of trigger event
@return true on detection of rising edge, false otherwise
plc4j/tools/scraper/src/main/java/org/apache/plc4x/java/scraper/triggeredscraper/triggerhandler/TriggerHandlerImpl.java