Interface FlowFileFilter


public interface FlowFileFilter

FlowFileFilter provides a mechanism for selectively choosing which FlowFiles to obtain from a Processor's incoming connections.

Implementations of this interface need not be thread-safe.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Provides a result type to indicate whether or not a FlowFile should be selected
  • Method Summary

    Modifier and Type
    Method
    Description
    filter(FlowFile flowFile)
    Indicates whether or not the given FlowFile should be selected and whether or not the Processor is interested in filtering additional FlowFiles
  • Method Details

    • filter

      Indicates whether or not the given FlowFile should be selected and whether or not the Processor is interested in filtering additional FlowFiles
      Parameters:
      flowFile - to apply the filter to
      Returns:
      true if the given FlowFile should be selected and if Processor is interested in filtering additional FlowFiles