Interface WizardStepPreviousHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface WizardStepPreviousHandler
Functional interface for handling callbacks when navigating to the previous step in a wizard workflow. Implementations of this interface can define custom behavior for the transition between steps and control whether the transition is allowed.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onPrevious(Wizard wizard, WizardStep current, WizardStep previous)
    Called when transitioning to the previous step in a wizard workflow.
  • Method Details

    • onPrevious

      boolean onPrevious(Wizard wizard, WizardStep current, WizardStep previous)
      Called when transitioning to the previous step in a wizard workflow.
      Parameters:
      wizard - The wizard instance managing the workflow.
      current - The current wizard step before transitioning.
      previous - The previous wizard step from which the transition occurred.
      Returns:
      A boolean indicating whether transitioning to the previous step is allowed. Returns true if the transition is permitted; otherwise, false.