code: @Override
      public ItemProcessor getProcessor(Item item) {
          for (Map.Entry<String, ItemProcessor> mapping : patternToProcessorMappings.entrySet()) {
              if (item.getUrl().matches(mapping.getKey())) {
                  return mapping.getValue();
              }
          }
  
          return null;
      }
docs: If the item url matches one of the patterns defined in {@code patternToProcessorMappings}, the processor
  mapped to that pattern is returned. If not, null is returned.