Buildable.Utils
Modifier and Type | Method and Description |
---|---|
Iterator |
build() |
Iterator.Builder |
comment(String comment)
OPTIONAL.
|
Iterator.Builder |
startAt(String startAt)
REQUIRED.
|
Iterator.Builder |
state(String stateName,
State.Builder stateBuilder)
REQUIRED.
|
public Iterator.Builder startAt(String startAt)
state(String,
State.Builder)
.startAt
- Name of starting state.public Iterator.Builder comment(String comment)
comment
- New comment.public Iterator.Builder state(String stateName, State.Builder stateBuilder)
stateName
- Name of the statestateBuilder
- Instance of State.Builder
. Note that
the State
object is not built until the Iterator
is built so any modifications on the state builder
will be reflected in this object.