Interface Processor.Factory

All Known Implementing Classes:
DropProcessor.Factory, PipelineProcessor.Factory
Enclosing interface:
Processor

public static interface Processor.Factory
A factory that knows how to construct a processor based on a map of maps.
  • Method Details

    • create

      Processor create(Map<String,Processor.Factory> processorFactories, String tag, String description, Map<String,Object> config) throws Exception
      Creates a processor based on the specified map of maps config.
      Parameters:
      processorFactories - Other processors which may be created inside this processor
      tag - The tag for the processor
      description - A short description of what this processor does
      config - The configuration for the processor Note: Implementations are responsible for removing the used configuration keys, so that after
      Throws:
      Exception