Class AbstractProcessor

java.lang.Object
org.elasticsearch.ingest.AbstractProcessor
All Implemented Interfaces:
Processor
Direct Known Subclasses:
ConditionalProcessor, DropProcessor, PipelineProcessor

public abstract class AbstractProcessor
extends java.lang.Object
implements Processor
An Abstract Processor that holds tag and description information about the processor.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.ingest.Processor

    Processor.Factory, Processor.Parameters
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String description  
    protected java.lang.String tag  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected AbstractProcessor​(java.lang.String tag, java.lang.String description)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDescription()
    Gets the description of a processor.
    java.lang.String getTag()
    Gets the tag of a processor.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.ingest.Processor

    execute, execute, getType
  • Field Details

    • tag

      protected final java.lang.String tag
    • description

      protected final java.lang.String description
  • Constructor Details

    • AbstractProcessor

      protected AbstractProcessor​(java.lang.String tag, java.lang.String description)
  • Method Details

    • getTag

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

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