Interface Processor

  • All Known Implementing Classes:
    AbstractProcessor, CompoundProcessor, TrackingResultProcessor

    public interface Processor
    A processor implementation may modify the data belonging to a document. Whether changes are made and what exactly is modified is up to the implementation. Processors may get called concurrently and thus need to be thread-safe.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  Processor.Factory
      A factory that knows how to construct a processor based on a map of maps.
      static class  Processor.Parameters
      Infrastructure class that holds services that can be used by processor factories to create processor instances and that gets passed around to all IngestPlugins.
    • Method Detail

      • execute

        void execute​(IngestDocument ingestDocument)
              throws java.lang.Exception
        Introspect and potentially modify the incoming data.
        Throws:
        java.lang.Exception
      • getType

        java.lang.String getType()
        Gets the type of a processor
      • getTag

        java.lang.String getTag()
        Gets the tag of a processor.