Enum Class Enums.ExecutionType

java.lang.Object
java.lang.Enum<Enums.ExecutionType>
com.motivewave.platform.sdk.common.Enums.ExecutionType
All Implemented Interfaces:
Serializable, Comparable<Enums.ExecutionType>, Constable
Enclosing interface:
Enums

public static enum Enums.ExecutionType extends Enum<Enums.ExecutionType>
Execution type: Entry, Exit, Stop and Reverse (SAR)
  • Enum Constant Details

    • ENTRY

      public static final Enums.ExecutionType ENTRY
      Entry execution. Creates or adds to a position.
    • EXIT

      public static final Enums.ExecutionType EXIT
      Exit execution. Closes or subtracts from a position.
    • SAR

      public static final Enums.ExecutionType SAR
      Stop and Reverse. Closes existing position and opens a new position in the opposite direction.
  • Method Details

    • values

      public static Enums.ExecutionType[] 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 Enums.ExecutionType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Enums.ExecutionType>