| Package | Description |
|---|---|
| com.github.pnavais.machine.api.validator | |
| com.github.pnavais.machine.impl |
| Modifier and Type | Method and Description |
|---|---|
static TransitionValidator.Operation |
TransitionValidator.Operation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransitionValidator.Operation[] |
TransitionValidator.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
TransitionValidator.validate(T transition,
TransitionIndex<N,M,T> transitionIndex,
TransitionValidator.Operation operation)
Checks the transition parameter correctness
with respect to current transitions on the given
index.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
StateTransitionValidator.validate(StateTransition transition,
TransitionIndex<State,Message,StateTransition> transitionIndex,
TransitionValidator.Operation operation)
Checks the transition parameter correctness
with respect to current transitions on the given
index before applying the operation.
|
Copyright © 2019 state-machine. All rights reserved.