code: public void addProcessor(ItemProcessor processor) {
          if (processors == null) {
              processors = new ArrayList<>();
          }
  
          processors.add(processor);
      }
docs: Adds a processor to the pipeline of processors.