Class ImageProviderSwitch
- java.lang.Object
-
- org.palladiosimulator.measurementsui.util.MeasurementsSwitch<Image>
-
- org.palladiosimulator.measurementsui.wizard.util.ImageProviderSwitch
-
public class ImageProviderSwitch extends MeasurementsSwitch<Image>
-
-
Constructor Summary
Constructors Constructor Description ImageProviderSwitch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Image
caseAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext)
The case for assembly contexts.Image
caseBasicComponent(org.palladiosimulator.pcm.repository.BasicComponent basicComponent)
The case for basic components.Image
caseBranch(org.palladiosimulator.pcm.usagemodel.Branch branch)
The case for branches.Image
caseBranchTransition(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition)
The case for branch transitions.Image
caseEntryLevelSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall)
The case for entry level system calls.Image
caseExternalCallAction(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction)
The case for external call actions.Image
caseLinkingResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource)
The case for linking resources.Image
caseLoop(org.palladiosimulator.pcm.usagemodel.Loop loop)
The case for loops.Image
caseOperationSignature(org.palladiosimulator.pcm.repository.OperationSignature operationSignature)
The case for operation signatures.Image
casePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource)
The case for passive resources.Image
caseProcessingResourceSpecification(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification)
The case for processing resource specifications.Image
caseRepository(org.palladiosimulator.pcm.repository.Repository resourceContainer)
The case for repositories.Image
caseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer)
The case for resource containers.Image
caseResourceDemandingSEFF(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff)
The case for resource demanding SEFFs.Image
caseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment)
The case for resource environments.Image
caseRole(org.palladiosimulator.pcm.repository.Role role)
The case for roles.Image
caseScenarioBehaviour(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour)
The case for scenario behaviours.Image
caseSubSystem(org.palladiosimulator.pcm.subsystem.SubSystem subSystem)
The case for subsystems.Image
caseSystem(org.palladiosimulator.pcm.system.System system)
The case for systems.Image
caseUsageModel(org.palladiosimulator.pcm.usagemodel.UsageModel usageModel)
The case for usage models.Image
caseUsageScenario(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario)
The case for usage scenarios.Image
defaultCase(EObject eObject)
The default case.-
Methods inherited from class org.palladiosimulator.measurementsui.util.MeasurementsSwitch
caseMeasuringPoint, doSwitch
-
-
-
-
Method Detail
-
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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<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 classMeasurementsSwitch<Image>
- Parameters:
eObject
- the given EObject- Returns:
- T
-
-