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