1 | /** |
2 | * |
3 | */ |
4 | package de.fzi.se.accuracy.transformation; |
5 | |
6 | import de.fzi.se.quality.qualityannotation.REPrecision; |
7 | import de.uka.ipd.sdq.pcm.seff.ExternalCallAction; |
8 | import de.uka.ipd.sdq.pcm.seff.InternalCallAction; |
9 | import de.uka.ipd.sdq.pcm.seff.ServiceEffectSpecification; |
10 | import de.uka.ipd.sdq.pcm.seff.seff_performance.InfrastructureCall; |
11 | import de.uka.ipd.sdq.pcm.seff.seff_performance.ParametricResourceDemand; |
12 | import de.uka.ipd.sdq.pcm.seff.seff_performance.ResourceCall; |
13 | import de.uka.ipd.sdq.workflow.pcm.blackboard.PCMResourceSetPartition; |
14 | import de.uka.ipd.sdq.workflow.pcm.runconfig.AccuracyInfluenceAnalysisState; |
15 | |
16 | /** |
17 | * Implementing the transformation of given SEFFs for the state |
18 | * {@link AccuracyInfluenceAnalysisState#AS_SPECIFIED}. Start the transformation by |
19 | * invoking {@link #doSwitch(org.eclipse.emf.ecore.EObject)} with a parameter of |
20 | * type {@link ServiceEffectSpecification}. |
21 | * |
22 | * @author groenda |
23 | * |
24 | */ |
25 | public class AccuracyInfluenceSEFFTransformationStrategyAsSpecified extends |
26 | AbstractAccuracyInfluenceSEFFTransformationStrategy { |
27 | |
28 | /**Create a new instance using the given quality annotations. |
29 | * @param pcmPartition Partition containing the quality annotations. |
30 | */ |
31 | public AccuracyInfluenceSEFFTransformationStrategyAsSpecified( |
32 | PCMResourceSetPartition pcmPartition) { |
33 | super(pcmPartition); |
34 | } |
35 | |
36 | /* (non-Javadoc) |
37 | * @see de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs.AbstractAccuracyInfluenceSEFFTransformationStrategy#modifyComponentExternalCall(de.uka.ipd.sdq.pcm.seff.ExternalCallAction, de.fzi.se.quality.qualityannotation.REPrecision) |
38 | */ |
39 | @Override |
40 | protected void modifyComponentExternalCall(ExternalCallAction call, |
41 | REPrecision precision) { |
42 | // nothing to do |
43 | } |
44 | |
45 | /* (non-Javadoc) |
46 | * @see de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs.AbstractAccuracyInfluenceSEFFTransformationStrategy#modifyComponentInternalCall(de.uka.ipd.sdq.pcm.seff.InternalCallAction, de.fzi.se.quality.qualityannotation.REPrecision) |
47 | */ |
48 | @Override |
49 | protected void modifyComponentInternalCall(InternalCallAction call, |
50 | REPrecision precision) { |
51 | // nothing to do |
52 | } |
53 | |
54 | /* (non-Javadoc) |
55 | * @see de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs.AbstractAccuracyInfluenceSEFFTransformationStrategy#modifyInfrastructureCall(de.uka.ipd.sdq.pcm.seff.seff_performance.InfrastructureCall, de.fzi.se.quality.qualityannotation.REPrecision) |
56 | */ |
57 | @Override |
58 | protected void modifyInfrastructureCall(InfrastructureCall call, |
59 | REPrecision precision) { |
60 | // nothing to do |
61 | } |
62 | |
63 | /* (non-Javadoc) |
64 | * @see de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs.AbstractAccuracyInfluenceSEFFTransformationStrategy#modifyResourceCall(de.uka.ipd.sdq.pcm.seff.seff_performance.ResourceCall, de.fzi.se.quality.qualityannotation.REPrecision) |
65 | */ |
66 | @Override |
67 | protected void modifyResourceCall(ResourceCall call, REPrecision precision) { |
68 | // nothing to do |
69 | } |
70 | |
71 | /* (non-Javadoc) |
72 | * @see de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs.AbstractAccuracyInfluenceSEFFTransformationStrategy#modifyResourceDemand(de.uka.ipd.sdq.pcm.seff.seff_performance.ParametricResourceDemand, de.fzi.se.quality.qualityannotation.REPrecision) |
73 | */ |
74 | @Override |
75 | protected void modifyResourceDemand(ParametricResourceDemand demand, |
76 | REPrecision precision) { |
77 | // nothing to do |
78 | } |
79 | } |