public abstract class OrderState extends Object
BuiltOrder
builder. Each OrderState is passed the current BuiltOrder and
holds a reference.
For the purposes of a builder, an OrderState typically describes what
was most recently consumed.
| Modifier and Type | Field and Description |
|---|---|
protected BuiltOrder |
order
A reference to the
BuiltOrder that is being built. |
| Modifier | Constructor and Description |
|---|---|
protected |
OrderState(BuiltOrder order)
Construct a new instance.
|