com.dukascopy.api
Enum ISignal.Type

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

public static enum ISignal.Type
extends java.lang.Enum<ISignal.Type>


Enum Constant Summary
ORDER_BUY
           
ORDER_CANCEL
           
ORDER_CLOSE
           
ORDER_MERGE
           
ORDER_MODIFY
           
ORDER_SELL
           
 
Method Summary
static ISignal.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ISignal.Type[] 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

ORDER_BUY

public static final ISignal.Type ORDER_BUY

ORDER_SELL

public static final ISignal.Type ORDER_SELL

ORDER_CLOSE

public static final ISignal.Type ORDER_CLOSE

ORDER_MODIFY

public static final ISignal.Type ORDER_MODIFY

ORDER_MERGE

public static final ISignal.Type ORDER_MERGE

ORDER_CANCEL

public static final ISignal.Type ORDER_CANCEL
Method Detail

values

public static ISignal.Type[] 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 (ISignal.Type c : ISignal.Type.values())
    System.out.println(c);

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

valueOf

public static ISignal.Type 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