Package com.morpheusdata.model
Class Wizard
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.Wizard
- All Implemented Interfaces:
IModelCodeName,Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Stringprotected ConfigurationWorkflowStepprotected Stringprotected Stringprotected List<WizardStep>Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns whether this wizard is activegetCode()Returns the unique code identifier for this wizardReturns a description of this wizard's purposegetName()Returns the display name for this wizardgetSteps()Returns the ordered list of steps that make up this wizardvoidSets whether this wizard is activevoidSets the unique code identifier for this wizardvoidsetConfigurationWorkflowStep(ConfigurationWorkflowStep configurationWorkflowStep) voidsetDescription(String description) Sets a description of this wizard's purposevoidSets the display name for this wizardvoidsetSteps(List<WizardStep> steps) Sets the ordered list of steps that make up this wizardMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.morpheusdata.model.IModelCodeName
getId
-
Field Details
-
code
-
name
-
description
-
steps
-
active
-
configurationWorkflowStep
-
-
Constructor Details
-
Wizard
public Wizard() -
Wizard
-
-
Method Details
-
getConfigurationWorkflowStep
-
setConfigurationWorkflowStep
-
getCode
Returns the unique code identifier for this wizard- Specified by:
getCodein interfaceIModelCodeName- Returns:
- wizard code
-
setCode
Sets the unique code identifier for this wizard- Parameters:
code- wizard code
-
getName
Returns the display name for this wizard- Specified by:
getNamein interfaceIModelCodeName- Returns:
- wizard name
-
setName
Sets the display name for this wizard- Parameters:
name- wizard name
-
getDescription
Returns a description of this wizard's purpose- Returns:
- wizard description
-
setDescription
Sets a description of this wizard's purpose- Parameters:
description- wizard description
-
getSteps
Returns the ordered list of steps that make up this wizard- Returns:
- list of WizardStep
-
setSteps
Sets the ordered list of steps that make up this wizard- Parameters:
steps- list of WizardStep
-
getActive
Returns whether this wizard is active- Returns:
- true if active, false otherwise
-
setActive
Sets whether this wizard is active- Parameters:
active- true to activate, false to deactivate
-