Enum Class ExpiryTestStage

java.lang.Object
java.lang.Enum<ExpiryTestStage>
dev.demeng.pluginbase.event.functional.ExpiryTestStage
All Implemented Interfaces:
Serializable, Comparable<ExpiryTestStage>, Constable

public enum ExpiryTestStage extends Enum<ExpiryTestStage>
Represents when a expiry predicate should be tested relative to the handling of the event.
  • Enum Constant Details

    • PRE

      public static final ExpiryTestStage PRE
      The expiry predicate should be tested before the event is filtered or handled
    • POST_FILTER

      public static final ExpiryTestStage POST_FILTER
      The expiry predicate should be tested after the subscriptions filters have been evaluated
    • POST_HANDLE

      public static final ExpiryTestStage POST_HANDLE
      The expiry predicate should be tested after the event has been handled
  • Method Details

    • values

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