Enum TriggerTypeEnum

java.lang.Object
java.lang.Enum<TriggerTypeEnum>
cdm.observable.event.TriggerTypeEnum
All Implemented Interfaces:
Serializable, Comparable<TriggerTypeEnum>

@RosettaEnum("TriggerTypeEnum") public enum TriggerTypeEnum extends Enum<TriggerTypeEnum>
The enumerated values to specify whether an option will trigger or expire depending upon whether the spot rate is above or below the barrier rate.
Version:
5.30.0
  • Enum Constant Details

    • EQUAL_OR_LESS

      @RosettaEnumValue("EqualOrLess") public static final TriggerTypeEnum EQUAL_OR_LESS
      The underlier price must be equal to or less than the Trigger level.
    • EQUAL_OR_GREATER

      @RosettaEnumValue("EqualOrGreater") public static final TriggerTypeEnum EQUAL_OR_GREATER
      The underlier price must be equal to or greater than the Trigger level.
    • EQUAL

      @RosettaEnumValue("Equal") public static final TriggerTypeEnum EQUAL
      The underlier price must be equal to the Trigger level.
    • LESS

      @RosettaEnumValue("Less") public static final TriggerTypeEnum LESS
      The underlier price must be less than the Trigger level.
    • GREATER

      @RosettaEnumValue("Greater") public static final TriggerTypeEnum GREATER
      The underlier price must be greater than the Trigger level.
  • Method Details

    • values

      public static TriggerTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TriggerTypeEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromDisplayName

      public static TriggerTypeEnum fromDisplayName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TriggerTypeEnum>
    • toDisplayString

      public String toDisplayString()