Enum Class GuardEnum

java.lang.Object
java.lang.Enum<GuardEnum>
com.espertech.esper.common.client.soda.GuardEnum
All Implemented Interfaces:
Serializable, Comparable<GuardEnum>, Constable

public enum GuardEnum extends Enum<GuardEnum>
Enum for all build-in guards.
  • Enum Constant Details

    • TIMER_WITHIN

      public static final GuardEnum TIMER_WITHIN
      Timer guard.
    • TIMER_WITHINMAX

      public static final GuardEnum TIMER_WITHINMAX
      Timer-withinmax guard.
    • WHILE_GUARD

      public static final GuardEnum WHILE_GUARD
      While-guard.
  • Method Details

    • values

      public static GuardEnum[] 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 GuardEnum 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
    • getNamespace

      public String getNamespace()
      Returns the namespace name.
      Returns:
      namespace name
    • getName

      public String getName()
      Returns name.
      Returns:
      short name
    • isWhile

      public static boolean isWhile(String namespace, String name)
      Returns true for the while-guard
      Parameters:
      namespace - namespace
      name - name
      Returns:
      indicator