EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
---|
[all classes][de.uka.ipd.sdq.dsexplore.designdecisions.alternativecomponents] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
ComponentReplacer.java | 0% (0/1) | 0% (0/4) | 0% (0/37) | 0% (0/11) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class ComponentReplacer | 0% (0/1) | 0% (0/4) | 0% (0/37) | 0% (0/11) |
ComponentReplacer (): void | 0% (0/1) | 0% (0/8) | 0% (0/3) | |
addAllConnectorAdjuster (List): void | 0% (0/1) | 0% (0/8) | 0% (0/3) | |
addConnectorAdjuster (ConnectorAdjuster): void | 0% (0/1) | 0% (0/6) | 0% (0/2) | |
replace (): void | 0% (0/1) | 0% (0/15) | 0% (0/3) |
1 | package de.uka.ipd.sdq.dsexplore.designdecisions.alternativecomponents; |
2 | |
3 | import java.util.ArrayList; |
4 | import java.util.List; |
5 | |
6 | public class ComponentReplacer { |
7 | |
8 | private List<ConnectorAdjuster> connectorAdjusters; |
9 | |
10 | public ComponentReplacer(){ |
11 | this.connectorAdjusters = new ArrayList<ConnectorAdjuster>(); |
12 | } |
13 | |
14 | public void addConnectorAdjuster(ConnectorAdjuster ca){ |
15 | this.connectorAdjusters.add(ca); |
16 | } |
17 | |
18 | public void replace(){ |
19 | for (ConnectorAdjuster connectorAdjuster : connectorAdjusters) { |
20 | connectorAdjuster.build(); |
21 | } |
22 | } |
23 | |
24 | public void addAllConnectorAdjuster(List<ConnectorAdjuster> cas) { |
25 | if (cas != null){ |
26 | this.connectorAdjusters.addAll(cas); |
27 | } |
28 | |
29 | } |
30 | |
31 | } |
[all classes][de.uka.ipd.sdq.dsexplore.designdecisions.alternativecomponents] |
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |