Class ImageProviderSwitch

java.lang.Object
org.palladiosimulator.measurementsui.util.MeasurementsSwitch<Image>
org.palladiosimulator.measurementsui.wizard.util.ImageProviderSwitch

public class ImageProviderSwitch extends MeasurementsSwitch<Image>
  • Constructor Details

    • ImageProviderSwitch

      public ImageProviderSwitch()
  • Method Details

    • caseUsageScenario

      public Image 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<Image>
      Parameters:
      usageScenario - the given usage scenario
      Returns:
      T
    • caseResourceEnvironment

      public Image 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<Image>
      Parameters:
      resourceEnvironment - the given resource environment
      Returns:
      T
    • caseSystem

      public Image 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<Image>
      Parameters:
      system - the given system
      Returns:
      T
    • caseAssemblyContext

      public Image 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<Image>
      Parameters:
      assemblyContext - the given assembly context
      Returns:
      T
    • caseResourceContainer

      public Image 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<Image>
      Parameters:
      resourceContainer - the given resource container
      Returns:
      T
    • caseProcessingResourceSpecification

      public Image 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<Image>
      Parameters:
      processingResourceSpecification - the given processing resource specification
      Returns:
      T
    • caseLinkingResource

      public Image 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<Image>
      Parameters:
      linkingResource - the given linking resource
      Returns:
      T
    • caseExternalCallAction

      public Image 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<Image>
      Parameters:
      externalCallAction - the given external call action
      Returns:
      T
    • caseEntryLevelSystemCall

      public Image 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<Image>
      Parameters:
      entryLevelSystemCall - the given entry level system call
      Returns:
      T
    • caseSubSystem

      public Image 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<Image>
      Parameters:
      subSystem - the given subsystem
      Returns:
      T
    • casePassiveResource

      public Image casePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource)
      Description copied from class: MeasurementsSwitch
      The case for passive resources. You should override it and add your own logic before using the switch.
      Overrides:
      casePassiveResource in class MeasurementsSwitch<Image>
      Parameters:
      passiveResource - the given passive resource
      Returns:
      T
    • caseRepository

      public Image caseRepository(org.palladiosimulator.pcm.repository.Repository resourceContainer)
      Description copied from class: MeasurementsSwitch
      The case for repositories. You should override it and add your own logic before using the switch.
      Overrides:
      caseRepository in class MeasurementsSwitch<Image>
      Parameters:
      resourceContainer - the given repository
      Returns:
      T
    • caseBasicComponent

      public Image caseBasicComponent(org.palladiosimulator.pcm.repository.BasicComponent basicComponent)
      Description copied from class: MeasurementsSwitch
      The case for basic components. You should override it and add your own logic before using the switch.
      Overrides:
      caseBasicComponent in class MeasurementsSwitch<Image>
      Parameters:
      basicComponent - the given basic component
      Returns:
      T
    • caseResourceDemandingSEFF

      public Image caseResourceDemandingSEFF(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff)
      Description copied from class: MeasurementsSwitch
      The case for resource demanding SEFFs. You should override it and add your own logic before using the switch.
      Overrides:
      caseResourceDemandingSEFF in class MeasurementsSwitch<Image>
      Parameters:
      resourceDemandingSeff - the given resource demanding SEFF
      Returns:
      T
    • caseScenarioBehaviour

      public Image caseScenarioBehaviour(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour)
      Description copied from class: MeasurementsSwitch
      The case for scenario behaviours. You should override it and add your own logic before using the switch.
      Overrides:
      caseScenarioBehaviour in class MeasurementsSwitch<Image>
      Parameters:
      scenarioBehaviour - the given scenario behaviour
      Returns:
      T
    • caseUsageModel

      public Image caseUsageModel(org.palladiosimulator.pcm.usagemodel.UsageModel usageModel)
      Description copied from class: MeasurementsSwitch
      The case for usage models. You should override it and add your own logic before using the switch.
      Overrides:
      caseUsageModel in class MeasurementsSwitch<Image>
      Parameters:
      usageModel - the given usage model
      Returns:
      T
    • caseBranch

      public Image caseBranch(org.palladiosimulator.pcm.usagemodel.Branch branch)
      Description copied from class: MeasurementsSwitch
      The case for branches. You should override it and add your own logic before using the switch.
      Overrides:
      caseBranch in class MeasurementsSwitch<Image>
      Parameters:
      branch - the given branch
      Returns:
      T
    • caseBranchTransition

      public Image caseBranchTransition(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition)
      Description copied from class: MeasurementsSwitch
      The case for branch transitions. You should override it and add your own logic before using the switch.
      Overrides:
      caseBranchTransition in class MeasurementsSwitch<Image>
      Parameters:
      branchTransition - the given branch transition
      Returns:
      T
    • caseLoop

      public Image caseLoop(org.palladiosimulator.pcm.usagemodel.Loop loop)
      Description copied from class: MeasurementsSwitch
      The case for loops. You should override it and add your own logic before using the switch.
      Overrides:
      caseLoop in class MeasurementsSwitch<Image>
      Parameters:
      loop - the given loop
      Returns:
      T
    • caseOperationSignature

      public Image caseOperationSignature(org.palladiosimulator.pcm.repository.OperationSignature operationSignature)
      Description copied from class: MeasurementsSwitch
      The case for operation signatures. You should override it and add your own logic before using the switch.
      Overrides:
      caseOperationSignature in class MeasurementsSwitch<Image>
      Parameters:
      operationSignature - the given operation signature
      Returns:
      T
    • caseRole

      public Image caseRole(org.palladiosimulator.pcm.repository.Role role)
      Description copied from class: MeasurementsSwitch
      The case for roles. You should override it and add your own logic before using the switch.
      Overrides:
      caseRole in class MeasurementsSwitch<Image>
      Parameters:
      role - the given role
      Returns:
      T
    • defaultCase

      public Image defaultCase(EObject eObject)
      Description copied from class: MeasurementsSwitch
      The default case. You should override it and add your own logic before using the switch.
      Overrides:
      defaultCase in class MeasurementsSwitch<Image>
      Parameters:
      eObject - the given EObject
      Returns:
      T