Interface StepFlow.StepValidator
- Enclosing class:
StepFlow
public static interface StepFlow.StepValidator
Decides whether the user may leave a step forwards.
-
Method Summary
-
Method Details
-
validate
Called before the flow moves forwards from
step.Parameters
-
flow: the flow -
step: the index of the step being left
Returns
true to allow the move, false to stay and mark the step as an error
-
-