N - the type of nodeM - the type of messageT - the type of transitionpublic interface TransitionValidator<N extends Node,M extends Message,T extends Transition<N,M>>
| Modifier and Type | Interface and Description |
|---|---|
static class |
TransitionValidator.FailurePolicy
The failure policy
|
static class |
TransitionValidator.Operation
The possible transition operations
|
| Modifier and Type | Method and Description |
|---|---|
default TransitionValidator.FailurePolicy |
getFailurePolicy()
Retrieves the failure policy.
|
ValidationResult |
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.
|
ValidationResult validate(T transition, TransitionIndex<N,M,T> transitionIndex, TransitionValidator.Operation operation)
transition - the transition to checktransitionIndex - the transition indexoperation - the operation to accomplishdefault TransitionValidator.FailurePolicy getFailurePolicy()
Copyright © 2019 state-machine. All rights reserved.