java.lang.Object
com.caplin.motif.fx.trading.orders.submission.AlertType

@Deprecated public class AlertType extends Object
Deprecated.

The AlertType determines how the client should be alerted once the order has been filled.

The common alert types can be accessed as public constants

  • Field Details

    • EMAIL

      public static final AlertType EMAIL
      Deprecated.
      The Email alert type
    • SMS

      public static final AlertType SMS
      Deprecated.
      The sms alert type
  • Constructor Details

    • AlertType

      public AlertType(String name)
      Deprecated.
      Constructs an AlertType for the specified name.s
      Parameters:
      name - The name of the AlertType
  • Method Details

    • getValue

      public static AlertType getValue(String name)
      Deprecated.
      Returns the AlertType for the specified field name. This will either be one of the constants defined in this class, or a new instance of AlertType created with the name specified.
      Parameters:
      name - The name of the AlertType
      Returns:
      The AlertType
    • getAlertTypes

      public static Set<AlertType> getAlertTypes(String typesStr, String delimiter)
      Deprecated.
      Returns a set of AlertTypes for a String that contains a delimited list of AlertTypes
      Parameters:
      typesStr - A delimited list of alert types
      delimiter - The delimiter
      Returns:
      A set of AlertTypes
    • getName

      public String getName()
      Deprecated.
      Returns the name of the alert type. This will be the field value as sent down from the client.
      Returns:
      The alert type name.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object