EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.transformations.builder.infrastructure]

COVERAGE SUMMARY FOR SOURCE FILE [DelayMiddlewareComponentBuilder.java]

nameclass, %method, %block, %line, %
DelayMiddlewareComponentBuilder.java0%   (0/1)0%   (0/2)0%   (0/44)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class DelayMiddlewareComponentBuilder0%   (0/1)0%   (0/2)0%   (0/44)0%   (0/9)
DelayMiddlewareComponentBuilder (PCMAndCompletionModelHolder, OperationInterf... 0%   (0/1)0%   (0/19)0%   (0/5)
getSeffBuilder (): DelegatorComponentSeffBuilder 0%   (0/1)0%   (0/25)0%   (0/4)

1package de.uka.ipd.sdq.pcm.transformations.builder.infrastructure;
2 
3import de.uka.ipd.sdq.pcm.repository.OperationInterface;
4import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceContainer;
5import de.uka.ipd.sdq.pcm.transformations.builder.seff.DelegatorComponentSeffBuilder;
6import de.uka.ipd.sdq.pcm.transformations.builder.seff.StaticInternalActionDescriptor;
7import de.uka.ipd.sdq.pcm.transformations.builder.util.PCMAndCompletionModelHolder;
8 
9public class DelayMiddlewareComponentBuilder extends
10                BasicMiddlewareComponentBuilder {
11 
12        private String demandStoEx;
13 
14        public DelayMiddlewareComponentBuilder(PCMAndCompletionModelHolder models,
15                        OperationInterface providedIf, OperationInterface requiredIf,
16                        OperationInterface middlewareInterface, ResourceContainer container,
17                        String demandStoEx) {
18                super(models, providedIf, requiredIf, middlewareInterface, container, "DelayMiddlewareComponent");
19                if (demandStoEx == null)
20                        throw new IllegalArgumentException("Stoex cannot be null");
21                this.demandStoEx = demandStoEx;
22        }
23 
24        @Override
25        protected DelegatorComponentSeffBuilder getSeffBuilder() {
26                DelegatorComponentSeffBuilder builder = super.getSeffBuilder();
27                builder.appendPreAction(new StaticInternalActionDescriptor(demandStoEx,findResourceType("cpu")));
28                builder.appendPostAction(new StaticInternalActionDescriptor(demandStoEx,findResourceType("cpu")));
29                return builder;
30        }
31 
32}

[all classes][de.uka.ipd.sdq.pcm.transformations.builder.infrastructure]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov