Module org.mule.sdk.api
Package org.mule.sdk.api.runtime.source
Enum Class PollContext.PollItemStatus
java.lang.Object
java.lang.Enum<PollContext.PollItemStatus>
org.mule.sdk.api.runtime.source.PollContext.PollItemStatus
- All Implemented Interfaces:
Serializable,Comparable<PollContext.PollItemStatus>,Constable
- Enclosing interface:
- PollContext<T,
A>
The possible outcomes of submiting an item for processing through the
PollContext.accept(Consumer) method-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe item was accepted and has been scheduled for executionThe item was rejected because idempotency was enabled and another thread or node is already processing this itemThe item was rejected because watermarking was enabled and it was filtered on that groundThe item was rejected because the source has received the stop signal -
Method Summary
Modifier and TypeMethodDescriptionstatic PollContext.PollItemStatusReturns the enum constant of this class with the specified name.static PollContext.PollItemStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
The item was accepted and has been scheduled for execution -
FILTERED_BY_WATERMARK
The item was rejected because watermarking was enabled and it was filtered on that ground -
ALREADY_IN_PROCESS
The item was rejected because idempotency was enabled and another thread or node is already processing this item -
SOURCE_STOPPING
The item was rejected because the source has received the stop signal
-
-
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
-