Enum Class FilteringStrategy

java.lang.Object
java.lang.Enum<FilteringStrategy>
org.apache.nifi.event.transport.netty.FilteringStrategy
All Implemented Interfaces:
Serializable, Comparable<FilteringStrategy>, Constable

public enum FilteringStrategy extends Enum<FilteringStrategy>
Message Filtering Strategy
  • Enum Constant Details

    • DISABLED

      public static final FilteringStrategy DISABLED
      Filtering is disabled
    • EMPTY

      public static final FilteringStrategy EMPTY
      Filtering is enabled for messages containing zero bytes
  • Constructor Details

    • FilteringStrategy

      private FilteringStrategy()
  • Method Details

    • values

      public static FilteringStrategy[] 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 FilteringStrategy 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