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 Details

    • CreateMeasuringPointSwitch

      public CreateMeasuringPointSwitch()
  • Method Details

    • getSecondStageModel

      public Object getSecondStageModel()
      getter for the second stage model
      Returns:
      Object
    • setSecondStageModel

      public void setSecondStageModel(Object secondStageModel)
      setter for the second stage model
      Parameters:
      secondStageModel - the model which was set in the second stage of the measuring point wizard pages
    • getThirdStageModel

      public Object getThirdStageModel()
      getter for the third stage model
      Returns:
      Object
    • setThirdStageModel

      public void setThirdStageModel(Object thirdStageModel)
      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 class MeasurementsSwitch<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 class MeasurementsSwitch<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 class MeasurementsSwitch<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 class MeasurementsSwitch<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 class MeasurementsSwitch<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 class MeasurementsSwitch<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 class MeasurementsSwitch<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 class MeasurementsSwitch<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 class MeasurementsSwitch<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 class MeasurementsSwitch<org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint>
      Parameters:
      processingResourceSpecification - the given processing resource specification
      Returns:
      T