public static enum IEngine.StrategyMode extends java.lang.Enum<IEngine.StrategyMode>
Enum Constant and Description |
---|
INDEPENDENT
Strategy works as usual - it can create, close, modify etc orders on it's own
|
SIGNALS
Strategy does not create, close or modify orders.
|
Modifier and Type | Method and Description |
---|---|
static IEngine.StrategyMode |
fromString(java.lang.String modeString) |
java.lang.String |
getModeString() |
static IEngine.StrategyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IEngine.StrategyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IEngine.StrategyMode INDEPENDENT
public static final IEngine.StrategyMode SIGNALS
public static IEngine.StrategyMode[] values()
for (IEngine.StrategyMode c : IEngine.StrategyMode.values()) System.out.println(c);
public static IEngine.StrategyMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static IEngine.StrategyMode fromString(java.lang.String modeString)
public java.lang.String getModeString()
Copyright © 2024. All rights reserved.