Class AlternativeMeasuringPointChildrenSwitch


  • public class AlternativeMeasuringPointChildrenSwitch
    extends MeasurementsSwitch<Object[]>
    This is a switch to get all children of the alternative (hierarchical) measuringpoint view
    • Constructor Detail

      • AlternativeMeasuringPointChildrenSwitch

        public AlternativeMeasuringPointChildrenSwitch()
    • Method Detail

      • caseSystem

        public Object[] 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<Object[]>
        Parameters:
        system - the given system
        Returns:
        T
      • caseResourceEnvironment

        public Object[] 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<Object[]>
        Parameters:
        resourceEnvironment - the given resource environment
        Returns:
        T
      • caseResourceContainer

        public Object[] 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<Object[]>
        Parameters:
        resourceContainer - the given resource container
        Returns:
        T
      • caseUsageModel

        public Object[] 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<Object[]>
        Parameters:
        usageModel - the given usage model
        Returns:
        T
      • caseUsageScenario

        public Object[] 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<Object[]>
        Parameters:
        usageScenario - the given usage scenario
        Returns:
        T
      • caseScenarioBehaviour

        public Object[] 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<Object[]>
        Parameters:
        scenarioBehaviour - the given scenario behaviour
        Returns:
        T
      • caseRepository

        public Object[] 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<Object[]>
        Parameters:
        resourceContainer - the given repository
        Returns:
        T
      • caseBasicComponent

        public Object[] 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<Object[]>
        Parameters:
        basicComponent - the given basic component
        Returns:
        T
      • caseResourceDemandingSEFF

        public Object[] 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<Object[]>
        Parameters:
        resourceDemandingSeff - the given resource demanding SEFF
        Returns:
        T
      • caseBranch

        public Object[] 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<Object[]>
        Parameters:
        branch - the given branch
        Returns:
        T
      • caseBranchTransition

        public Object[] 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<Object[]>
        Parameters:
        branchTransition - the given branch transition
        Returns:
        T
      • caseLoop

        public Object[] 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<Object[]>
        Parameters:
        loop - the given loop
        Returns:
        T