public class OrderDirectionState extends BuildableOrderState
State that represents a building BuiltOrder that just had
direction information specified for the most recently added key.order| Modifier and Type | Method and Description |
|---|---|
OrderThenState |
then()
Transition to a state where a new key can be added.
|
default OrderByState |
then(String key)
Shortcut for calling
then() immediately followed by
OrderThenState.by(String) with the provided key. |
build, specpublic OrderThenState then()
public OrderByState then(String key)
then() immediately followed by
OrderThenState.by(String) with the provided key.key -