Class Wizard

All Implemented Interfaces:
IModelCodeName, Serializable

public class Wizard extends MorpheusModel implements IModelCodeName
Represents a multi-step wizard for collecting configuration data. A wizard consists of multiple steps that guide users through a process, collecting and validating data at each step.
Since:
1.2.6
See Also:
  • Field Details

  • Constructor Details

    • Wizard

      public Wizard()
    • Wizard

      public Wizard(String code, String name)
  • Method Details

    • getConfigurationWorkflowStep

      public ConfigurationWorkflowStep getConfigurationWorkflowStep()
    • setConfigurationWorkflowStep

      public void setConfigurationWorkflowStep(ConfigurationWorkflowStep configurationWorkflowStep)
    • getCode

      public String getCode()
      Returns the unique code identifier for this wizard
      Specified by:
      getCode in interface IModelCodeName
      Returns:
      wizard code
    • setCode

      public void setCode(String code)
      Sets the unique code identifier for this wizard
      Parameters:
      code - wizard code
    • getName

      public String getName()
      Returns the display name for this wizard
      Specified by:
      getName in interface IModelCodeName
      Returns:
      wizard name
    • setName

      public void setName(String name)
      Sets the display name for this wizard
      Parameters:
      name - wizard name
    • getDescription

      public String getDescription()
      Returns a description of this wizard's purpose
      Returns:
      wizard description
    • setDescription

      public void setDescription(String description)
      Sets a description of this wizard's purpose
      Parameters:
      description - wizard description
    • getSteps

      public List<WizardStep> getSteps()
      Returns the ordered list of steps that make up this wizard
      Returns:
      list of WizardStep
    • setSteps

      public void setSteps(List<WizardStep> steps)
      Sets the ordered list of steps that make up this wizard
      Parameters:
      steps - list of WizardStep
    • getActive

      public Boolean getActive()
      Returns whether this wizard is active
      Returns:
      true if active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets whether this wizard is active
      Parameters:
      active - true to activate, false to deactivate