Module org.apache.nifi
Package org.apache.nifi.processor
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that a FlowFile should be returned to the Processor to be processed and that additional FlowFiles should be processed by this filter.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.Indicates that a FlowFile should not be processed by the Processor at this time but that additional FlowFiles should be processed by this filter.Indicates that a FlowFile should not be processed by the Processor at this time and that no additional FlowFiles should be processed either. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAccept()booleanReturns the enum constant of this class with the specified name.static FlowFileFilter.FlowFileFilterResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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
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 nameNullPointerException- if the argument is null
-
isAccept
public boolean isAccept() -
isContinue
public boolean isContinue()
-