@Override
    public Processor getNextProcessor() {
        return nextProcessor;
    }
Get next processor element in the processor chain. Processed event should be sent to next processor

@return Processor next processor
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/stream/state/StreamPreStateProcessor.java