Class CreateMeasuringPointSwitch
java.lang.Object
org.palladiosimulator.measurementsui.util.MeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>
org.palladiosimulator.measurementsui.util.CreateMeasuringPointSwitch
public class CreateMeasuringPointSwitch
extends MeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>
The switch for the MeasuringPointSelectionWizardModel, which takes care of the creation of the
correct measuringpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext) The case for assembly contexts.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseEntryLevelSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall) The case for entry level system calls.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseExternalCallAction(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction) The case for external call actions.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseLinkingResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource) The case for linking resources.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseProcessingResourceSpecification(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification) The case for processing resource specifications.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer) The case for resource containers.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment) The case for resource environments.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseSubSystem(org.palladiosimulator.pcm.subsystem.SubSystem subSystem) The case for subsystems.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseSystem(org.palladiosimulator.pcm.system.System system) The case for systems.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointcaseUsageScenario(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario) The case for usage scenarios.getter for the second stage modelgetter for the third stage modelvoidsetSecondStageModel(Object secondStageModel) setter for the second stage modelvoidsetThirdStageModel(Object thirdStageModel) setter for the third stage modelMethods inherited from class org.palladiosimulator.measurementsui.util.MeasurementsSwitch
caseBasicComponent, caseBranch, caseBranchTransition, caseLoop, caseMeasuringPoint, caseOperationSignature, casePassiveResource, caseRepository, caseResourceDemandingSEFF, caseRole, caseScenarioBehaviour, caseUsageModel, defaultCase, doSwitch
-
Constructor Details
-
CreateMeasuringPointSwitch
public CreateMeasuringPointSwitch()
-
-
Method Details
-
getSecondStageModel
getter for the second stage model- Returns:
- Object
-
setSecondStageModel
setter for the second stage model- Parameters:
secondStageModel- the model which was set in the second stage of the measuring point wizard pages
-
getThirdStageModel
getter for the third stage model- Returns:
- Object
-
setThirdStageModel
setter for the third stage model- Parameters:
thirdStageModel- the model which was set in the third stage of the measuring point wizard pages
-
caseAssemblyContext
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext) Description copied from class:MeasurementsSwitchThe case for assembly contexts. You should override it and add your own logic before using the switch.- Overrides:
caseAssemblyContextin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
assemblyContext- the given assembly context- Returns:
- T
-
caseEntryLevelSystemCall
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseEntryLevelSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall) Description copied from class:MeasurementsSwitchThe case for entry level system calls. You should override it and add your own logic before using the switch.- Overrides:
caseEntryLevelSystemCallin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
entryLevelSystemCall- the given entry level system call- Returns:
- T
-
caseExternalCallAction
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseExternalCallAction(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction) Description copied from class:MeasurementsSwitchThe case for external call actions. You should override it and add your own logic before using the switch.- Overrides:
caseExternalCallActionin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
externalCallAction- the given external call action- Returns:
- T
-
caseLinkingResource
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseLinkingResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource) Description copied from class:MeasurementsSwitchThe case for linking resources. You should override it and add your own logic before using the switch.- Overrides:
caseLinkingResourcein classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
linkingResource- the given linking resource- Returns:
- T
-
caseResourceEnvironment
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment) Description copied from class:MeasurementsSwitchThe case for resource environments. You should override it and add your own logic before using the switch.- Overrides:
caseResourceEnvironmentin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
resourceEnvironment- the given resource environment- Returns:
- T
-
caseSubSystem
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseSubSystem(org.palladiosimulator.pcm.subsystem.SubSystem subSystem) Description copied from class:MeasurementsSwitchThe case for subsystems. You should override it and add your own logic before using the switch.- Overrides:
caseSubSystemin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
subSystem- the given subsystem- Returns:
- T
-
caseSystem
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseSystem(org.palladiosimulator.pcm.system.System system) Description copied from class:MeasurementsSwitchThe case for systems. You should override it and add your own logic before using the switch.- Overrides:
caseSystemin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
system- the given system- Returns:
- T
-
caseUsageScenario
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseUsageScenario(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario) Description copied from class:MeasurementsSwitchThe case for usage scenarios. You should override it and add your own logic before using the switch.- Overrides:
caseUsageScenarioin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
usageScenario- the given usage scenario- Returns:
- T
-
caseResourceContainer
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer) Description copied from class:MeasurementsSwitchThe case for resource containers. You should override it and add your own logic before using the switch.- Overrides:
caseResourceContainerin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
resourceContainer- the given resource container- Returns:
- T
-
caseProcessingResourceSpecification
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint caseProcessingResourceSpecification(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification) Description copied from class:MeasurementsSwitchThe case for processing resource specifications. You should override it and add your own logic before using the switch.- Overrides:
caseProcessingResourceSpecificationin classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>- Parameters:
processingResourceSpecification- the given processing resource specification- Returns:
- T
-