@ExperimentalSpi
public interface TransitionValidator
During the validation, all transitions from the workflow graph will be passed to this validator and if any problems are returned, they will be presented to the user.
Note that this is quite similar to the NodeValidator,
but whereas the node validator is meant to validate edges
in context of their source and target nodes, the transition validator
cas be used to validate transition when you don't care which
states they originate from or lead to.
The other difference is that when many edges execute the same transition, with this validator each transition will be validated only once (and then the results will be presented for all appropriate edges to the user), whereas the node validator would have to validate the same transition for each node it underlies.
| Modifier and Type | Method and Description |
|---|---|
List<Problem> |
validate(Transition transition) |
List<Problem> validate(Transition transition)
Copyright © 2023 Atlassian. All rights reserved.