public abstract class BuildableOrderState extends OrderState implements Order
BuiltOrder.order| Modifier | Constructor and Description |
|---|---|
protected |
BuildableOrderState(BuiltOrder order)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BuiltOrder |
build()
Build and return the
BuiltOrder. |
List<OrderComponent> |
spec()
Return the order specification, expressed as an ordered list of
components containing each key, an optional
Timestamp and the the corresponding direction ordinal (e.g. |
protected BuildableOrderState(BuiltOrder order)
order - public final BuiltOrder build()
BuiltOrder.public final List<OrderComponent> spec()
Ordercomponents containing each key, an optional
Timestamp and the the corresponding direction ordinal (e.g. 1 for
ASC and -1 for DESC) in the constructed Order.