Enum Class MonitorSide

java.lang.Object
java.lang.Enum<MonitorSide>
com.caplin.motif.fx.trading.MonitorSide
All Implemented Interfaces:
Serializable, Comparable<MonitorSide>, Constable

@Deprecated public enum MonitorSide extends Enum<MonitorSide>
Deprecated.
Represents either a BID or ASK side monitored of a trade.
  • Enum Constant Details

    • BID

      public static final MonitorSide BID
      Deprecated.
      The BUY side monitored of a trade
    • ASK

      public static final MonitorSide ASK
      Deprecated.
      The SELL side monitored of a trade
  • Method Details

    • values

      public static MonitorSide[] values()
      Deprecated.
      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 MonitorSide valueOf(String name)
      Deprecated.
      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
    • getValue

      public static MonitorSide getValue(String monitorSide)
      Deprecated.
      Returns a MonitorSide matching the side monitored value of String
      Parameters:
      monitorSide - if monitorSide is null, monitorSide will return null