Class TextProviderSwitch

java.lang.Object
org.palladiosimulator.measurementsui.util.MeasurementsSwitch<String>
org.palladiosimulator.measurementsui.wizard.util.TextProviderSwitch

public class TextProviderSwitch extends MeasurementsSwitch<String>
  • Constructor Details

    • TextProviderSwitch

      public TextProviderSwitch()
  • Method Details

    • caseProcessingResourceSpecification

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

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

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

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

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

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

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

      public String 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<String>
      Parameters:
      eObject - the given EObject
      Returns:
      T