public static enum Enums.StrategyState extends java.lang.Enum<Enums.StrategyState>
Enum Constant and Description |
---|
ACTIVE
Strategy is active and may create buy or sell orders.
|
DORMANT
Strategy is dormant.
|
INACTIVE
Strategy is inactive.
|
Modifier and Type | Method and Description |
---|---|
static Enums.StrategyState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.StrategyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.StrategyState INACTIVE
public static final Enums.StrategyState DORMANT
public static final Enums.StrategyState ACTIVE
public static Enums.StrategyState[] values()
for (Enums.StrategyState c : Enums.StrategyState.values()) System.out.println(c);
public static Enums.StrategyState 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 null