Enum Class PollContext.PollItemStatus

java.lang.Object
java.lang.Enum<PollContext.PollItemStatus>
org.mule.runtime.extension.api.runtime.source.PollContext.PollItemStatus
All Implemented Interfaces:
Serializable, Comparable<PollContext.PollItemStatus>, Constable
Enclosing interface:
PollContext<T,A>

public static enum PollContext.PollItemStatus extends Enum<PollContext.PollItemStatus>
The possible outcomes of submiting an item for processing through the PollContext.accept(Consumer) method
  • Enum Constant Details

    • ACCEPTED

      public static final PollContext.PollItemStatus ACCEPTED
      The item was accepted and has been scheduled for execution
    • FILTERED_BY_WATERMARK

      public static final PollContext.PollItemStatus FILTERED_BY_WATERMARK
      The item was rejected because watermarking was enabled and it was filtered on that ground
    • ALREADY_IN_PROCESS

      public static final PollContext.PollItemStatus ALREADY_IN_PROCESS
      The item was rejected because idempotency was enabled and another thread or node is already processing this item
    • SOURCE_STOPPING

      public static final PollContext.PollItemStatus SOURCE_STOPPING
      The item was rejected because the source has received the stop signal
  • Method Details

    • values

      public static PollContext.PollItemStatus[] 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 PollContext.PollItemStatus 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