public abstract class State extends Object
Criteria
builder. Each State is passed the current Criteria and holds
a reference. For any method called from the state, a Symbol is added
to the Criteria or the Criteria is returned.
For the purposes of a builder, a State typically describes what was
most recently consumed.
| Modifier and Type | Field and Description |
|---|---|
protected BuiltCriteria |
criteria
A reference to the
BuiltCriteria that is being built. |
| Modifier | Constructor and Description |
|---|---|
protected |
State(BuiltCriteria criteria)
Construct a new instance.
|
protected final BuiltCriteria criteria
BuiltCriteria that is being built.protected State(BuiltCriteria criteria)
criteria -