public final class Choice extends Object
ChoiceState. A choice consists of a condition and a state that
the
state machine will transition to if the condition evaluates to true.| Modifier and Type | Class and Description |
|---|---|
static class |
Choice.Builder
Builder for a
Choice. |
| Modifier and Type | Method and Description |
|---|---|
static Choice.Builder |
builder() |
Condition |
getCondition() |
Transition |
getTransition() |
public Condition getCondition()
public Transition getTransition()
Transition that occurs when this choice is evaluated.public static Choice.Builder builder()
Choice.