EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.codegen.simucontroller.runconfig]

COVERAGE SUMMARY FOR SOURCE FILE [SimuComWorkflowJobBuilder.java]

nameclass, %method, %block, %line, %
SimuComWorkflowJobBuilder.java0%   (0/1)0%   (0/3)0%   (0/25)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SimuComWorkflowJobBuilder0%   (0/1)0%   (0/3)0%   (0/25)0%   (0/9)
<static initializer> 0%   (0/1)0%   (0/4)0%   (0/2)
SimuComWorkflowJobBuilder (IDebugListener): void 0%   (0/1)0%   (0/6)0%   (0/3)
buildJob (AbstractPCMWorkflowRunConfiguration): IJob 0%   (0/1)0%   (0/15)0%   (0/4)

1/**
2 *
3 */
4package de.uka.ipd.sdq.codegen.simucontroller.runconfig;
5 
6import org.apache.log4j.Logger;
7import org.eclipse.core.runtime.CoreException;
8 
9import de.uka.ipd.sdq.codegen.simucontroller.debug.IDebugListener;
10import de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs.SensitivityAnalysisJob;
11import de.uka.ipd.sdq.workflow.IJob;
12import de.uka.ipd.sdq.workflow.pcm.configurations.AbstractPCMWorkflowRunConfiguration;
13import de.uka.ipd.sdq.workflow.pcm.jobs.PCMWorkflowJobBuilder;
14 
15/**Builder for SimuComJobs.
16 * @author groenda
17 */
18public class SimuComWorkflowJobBuilder extends PCMWorkflowJobBuilder {
19        /** Logger for this class. */
20        private static final Logger logger = Logger.getLogger(SimuComWorkflowJobBuilder.class);
21 
22        /** Debug listener for created SimuCom job. */
23        private IDebugListener listener;
24 
25        public SimuComWorkflowJobBuilder(IDebugListener listener) {
26                this.listener = listener;
27        }
28 
29        /* (non-Javadoc)
30         * @see de.uka.ipd.sdq.workflow.pcm.jobs.PCMWorkflowJobBuilder#buildJob(de.uka.ipd.sdq.workflow.pcm.configurations.AbstractPCMWorkflowRunConfiguration)
31         */
32        @Override
33        public IJob buildJob(AbstractPCMWorkflowRunConfiguration config) {
34                try {
35                        return new SensitivityAnalysisJob((SimuComWorkflowConfiguration) config, listener);
36                } catch (CoreException e) {
37                        logger.error("Core exception occured when building SensitivityAnalysisJob.", e);
38                        return null;
39                }
40        }
41 
42}

[all classes][de.uka.ipd.sdq.codegen.simucontroller.runconfig]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov