Enum Class Option.Order.Type

java.lang.Object
java.lang.Enum<Option.Order.Type>
com.opencqrs.esdb.client.Option.Order.Type
All Implemented Interfaces:
Serializable, Comparable<Option.Order.Type>, Constable
Enclosing class:
Option.Order

public static enum Option.Order.Type extends Enum<Option.Order.Type>
Specifies the event order.
  • Enum Constant Details

    • CHRONOLOGICAL

      public static final Option.Order.Type CHRONOLOGICAL
      Specifies chronological event order.
    • ANTICHRONOLOGICAL

      public static final Option.Order.Type ANTICHRONOLOGICAL
      Specifies antichronological event order.
  • Method Details

    • values

      public static Option.Order.Type[] 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 Option.Order.Type 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