Class TrackingResultProcessor

  • All Implemented Interfaces:
    Processor

    public final class TrackingResultProcessor
    extends java.lang.Object
    implements Processor
    Processor to be used within Simulate API to keep track of processors executed in pipeline.
    • Constructor Detail

      • TrackingResultProcessor

        public TrackingResultProcessor​(boolean ignoreFailure,
                                       Processor actualProcessor,
                                       java.util.List<SimulateProcessorResult> processorResultList)
    • Method Detail

      • execute

        public void execute​(IngestDocument ingestDocument)
                     throws java.lang.Exception
        Description copied from interface: Processor
        Introspect and potentially modify the incoming data.
        Specified by:
        execute in interface Processor
        Throws:
        java.lang.Exception
      • getType

        public java.lang.String getType()
        Description copied from interface: Processor
        Gets the type of a processor
        Specified by:
        getType in interface Processor
      • getTag

        public java.lang.String getTag()
        Description copied from interface: Processor
        Gets the tag of a processor.
        Specified by:
        getTag in interface Processor