Class SloWizardModelManager
java.lang.Object
org.palladiosimulator.measurementsui.wizardmodel.SloWizardModelManager
This class manages the additional Service Level Objective WizardModels used in
the SloWizard. Handles finishing the Wizard and saving the created or edited Slo's
-
Constructor Summary
ConstructorDescriptionSloWizardModelManager
(boolean isNewSlo, org.palladiosimulator.servicelevelobjective.ServiceLevelObjective slo) Constructor Creates a new empty SLO which will be edited in the wizard pages -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the propertyChangeListener to the PropertyChangeSupportvoid
cancel()
Discards all changes madeboolean
Checks if Wizard contains all necessary informations and can be finished by the uservoid
finish()
This method saves the changes made in the wizard pages to the Service Level Objective.getWizardModel
(SloWizardModelType sloWizardModelType) Creates and returns the WizardModels for the SloWizard-Pages
-
Constructor Details
-
SloWizardModelManager
public SloWizardModelManager(boolean isNewSlo, org.palladiosimulator.servicelevelobjective.ServiceLevelObjective slo) Constructor Creates a new empty SLO which will be edited in the wizard pages- Parameters:
createNewSlo
-
-
-
Method Details
-
addPropertyChangeListener
Adds the propertyChangeListener to the PropertyChangeSupport- Parameters:
listener
- the PropertyChangeListener
-
cancel
public void cancel()Discards all changes made -
finish
public void finish()This method saves the changes made in the wizard pages to the Service Level Objective. -
canFinish
public boolean canFinish()Checks if Wizard contains all necessary informations and can be finished by the user- Returns:
- true if all necessary attributes of the monitor are set and the wizard can finish
-
getWizardModel
Creates and returns the WizardModels for the SloWizard-Pages- Parameters:
wizardModelType
- an enum which indicates which wizardmodel should be returned- Returns:
- a wizardmodel which allows to use data methods for a specific wizardpage
-