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 [AbstractPCMCompletionWorkflowRunConfiguration.java]

nameclass, %method, %block, %line, %
AbstractPCMCompletionWorkflowRunConfiguration.java0%   (0/1)0%   (0/4)0%   (0/20)0%   (0/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class AbstractPCMCompletionWorkflowRunConfiguration0%   (0/1)0%   (0/4)0%   (0/20)0%   (0/7)
AbstractPCMCompletionWorkflowRunConfiguration (): void 0%   (0/1)0%   (0/3)0%   (0/1)
clone (): Object 0%   (0/1)0%   (0/10)0%   (0/3)
getCompletionConfiguration (): CompletionConfiguration 0%   (0/1)0%   (0/3)0%   (0/1)
setCompletionConfiguration (CompletionConfiguration): void 0%   (0/1)0%   (0/4)0%   (0/2)

1package  de.uka.ipd.sdq.codegen.simucontroller.runconfig;
2 
3import de.uka.ipd.sdq.cip.configuration.CompletionConfiguration;
4import de.uka.ipd.sdq.cip.configuration.CompletionConfigurationProvider;
5import de.uka.ipd.sdq.workflow.pcm.configurations.AbstractCodeGenerationWorkflowRunConfiguration;
6 
7/**
8 * Base class of workflow configuration objects where the corresponding workflow
9 * makes completion transformations on PCM models.
10 *
11 * See also {@link CompletionConfigurationProvider} and {@link CompletionConfiguration}
12 *
13 * @author Thomas Schuischel
14 *
15 */
16public abstract class AbstractPCMCompletionWorkflowRunConfiguration extends AbstractCodeGenerationWorkflowRunConfiguration implements CompletionConfigurationProvider, Cloneable {
17 
18        CompletionConfiguration completionConfiguration;
19 
20        public CompletionConfiguration getCompletionConfiguration() {
21                return completionConfiguration;
22        }
23 
24        public void setCompletionConfiguration(CompletionConfiguration configuration) {
25                completionConfiguration = configuration;
26        }
27 
28        @Override
29        protected Object clone() throws CloneNotSupportedException {
30                AbstractPCMCompletionWorkflowRunConfiguration config = (AbstractPCMCompletionWorkflowRunConfiguration) super.clone();
31                //TODO: clone CompletionConfiguration instead of reassigning the same object
32                config.completionConfiguration = this.completionConfiguration;
33                return config;
34        }
35}

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