Enum Class FlowFileFilter.FlowFileFilterResult

java.lang.Object
java.lang.Enum<FlowFileFilter.FlowFileFilterResult>
org.apache.nifi.processor.FlowFileFilter.FlowFileFilterResult
All Implemented Interfaces:
Serializable, Comparable<FlowFileFilter.FlowFileFilterResult>, Constable
Enclosing interface:
FlowFileFilter

public static enum FlowFileFilter.FlowFileFilterResult extends Enum<FlowFileFilter.FlowFileFilterResult>
Provides a result type to indicate whether or not a FlowFile should be selected
  • Enum Constant Details

    • ACCEPT_AND_CONTINUE

      public static final FlowFileFilter.FlowFileFilterResult ACCEPT_AND_CONTINUE
      Indicates that a FlowFile should be returned to the Processor to be processed and that additional FlowFiles should be processed by this filter.
    • ACCEPT_AND_TERMINATE

      public static final FlowFileFilter.FlowFileFilterResult ACCEPT_AND_TERMINATE
      Indicates that a FlowFile should be returned to the Processor to be processed and that this is the last FlowFile that should be processed by this filter.
    • REJECT_AND_CONTINUE

      public static final FlowFileFilter.FlowFileFilterResult REJECT_AND_CONTINUE
      Indicates that a FlowFile should not be processed by the Processor at this time but that additional FlowFiles should be processed by this filter.
    • REJECT_AND_TERMINATE

      public static final FlowFileFilter.FlowFileFilterResult REJECT_AND_TERMINATE
      Indicates that a FlowFile should not be processed by the Processor at this time and that no additional FlowFiles should be processed either.
  • Method Details

    • values

      public static FlowFileFilter.FlowFileFilterResult[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FlowFileFilter.FlowFileFilterResult valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isAccept

      public boolean isAccept()
    • isContinue

      public boolean isContinue()