com.dukascopy.api.system
Enum ITesterEvent.CloseTrigger

java.lang.Object
  extended by java.lang.Enum<ITesterEvent.CloseTrigger>
      extended by com.dukascopy.api.system.ITesterEvent.CloseTrigger
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ITesterEvent.CloseTrigger>
Enclosing interface:
ITesterEvent

public static enum ITesterEvent.CloseTrigger
extends java.lang.Enum<ITesterEvent.CloseTrigger>


Enum Constant Summary
CANCEL_BY_MC
           
CANCEL_BY_NO_LIQUIDITY
           
CANCEL_BY_NO_MARGIN
           
CANCEL_BY_STRATEGY
           
CANCEL_BY_TIMEOUT
           
CANCEL_BY_VALIDATION
           
CLOSE_BY_MARGINCUT
           
CLOSE_BY_MC
           
CLOSE_BY_STOP_LOSS
           
CLOSE_BY_STRATEGY
           
CLOSE_BY_TAKE_PROFIT
           
MERGE_BY_MC
           
MERGE_BY_STRATEGY
           
 
Method Summary
static ITesterEvent.CloseTrigger valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ITesterEvent.CloseTrigger[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLOSE_BY_STRATEGY

public static final ITesterEvent.CloseTrigger CLOSE_BY_STRATEGY

CLOSE_BY_STOP_LOSS

public static final ITesterEvent.CloseTrigger CLOSE_BY_STOP_LOSS

CLOSE_BY_TAKE_PROFIT

public static final ITesterEvent.CloseTrigger CLOSE_BY_TAKE_PROFIT

CLOSE_BY_MC

public static final ITesterEvent.CloseTrigger CLOSE_BY_MC

CLOSE_BY_MARGINCUT

public static final ITesterEvent.CloseTrigger CLOSE_BY_MARGINCUT

CANCEL_BY_NO_MARGIN

public static final ITesterEvent.CloseTrigger CANCEL_BY_NO_MARGIN

CANCEL_BY_STRATEGY

public static final ITesterEvent.CloseTrigger CANCEL_BY_STRATEGY

CANCEL_BY_TIMEOUT

public static final ITesterEvent.CloseTrigger CANCEL_BY_TIMEOUT

CANCEL_BY_MC

public static final ITesterEvent.CloseTrigger CANCEL_BY_MC

CANCEL_BY_VALIDATION

public static final ITesterEvent.CloseTrigger CANCEL_BY_VALIDATION

CANCEL_BY_NO_LIQUIDITY

public static final ITesterEvent.CloseTrigger CANCEL_BY_NO_LIQUIDITY

MERGE_BY_MC

public static final ITesterEvent.CloseTrigger MERGE_BY_MC

MERGE_BY_STRATEGY

public static final ITesterEvent.CloseTrigger MERGE_BY_STRATEGY
Method Detail

values

public static ITesterEvent.CloseTrigger[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ITesterEvent.CloseTrigger c : ITesterEvent.CloseTrigger.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ITesterEvent.CloseTrigger valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null