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
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseAssemblyContext
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext) The case for assembly contexts.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseEntryLevelSystemCall
(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall) The case for entry level system calls.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseExternalCallAction
(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction) The case for external call actions.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseLinkingResource
(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource) The case for linking resources.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseProcessingResourceSpecification
(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification) The case for processing resource specifications.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseResourceContainer
(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer) The case for resource containers.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseResourceEnvironment
(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment) The case for resource environments.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseSubSystem
(org.palladiosimulator.pcm.subsystem.SubSystem subSystem) The case for subsystems.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseSystem
(org.palladiosimulator.pcm.system.System system) The case for systems.org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
caseUsageScenario
(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario) The case for usage scenarios.getter for the second stage modelgetter for the third stage modelvoid
setSecondStageModel
(Object secondStageModel) setter for the second stage modelvoid
setThirdStageModel
(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:MeasurementsSwitch
The case for assembly contexts. You should override it and add your own logic before using the switch.- Overrides:
caseAssemblyContext
in 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:MeasurementsSwitch
The case for entry level system calls. You should override it and add your own logic before using the switch.- Overrides:
caseEntryLevelSystemCall
in 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:MeasurementsSwitch
The case for external call actions. You should override it and add your own logic before using the switch.- Overrides:
caseExternalCallAction
in 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:MeasurementsSwitch
The case for linking resources. You should override it and add your own logic before using the switch.- Overrides:
caseLinkingResource
in 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:MeasurementsSwitch
The case for resource environments. You should override it and add your own logic before using the switch.- Overrides:
caseResourceEnvironment
in 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:MeasurementsSwitch
The case for subsystems. You should override it and add your own logic before using the switch.- Overrides:
caseSubSystem
in 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:MeasurementsSwitch
The case for systems. You should override it and add your own logic before using the switch.- Overrides:
caseSystem
in 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:MeasurementsSwitch
The case for usage scenarios. You should override it and add your own logic before using the switch.- Overrides:
caseUsageScenario
in 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:MeasurementsSwitch
The case for resource containers. You should override it and add your own logic before using the switch.- Overrides:
caseResourceContainer
in 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:MeasurementsSwitch
The case for processing resource specifications. You should override it and add your own logic before using the switch.- Overrides:
caseProcessingResourceSpecification
in classMeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>
- Parameters:
processingResourceSpecification
- the given processing resource specification- Returns:
- T
-