1 | package de.uka.ipd.sdq.codegen.simucontroller.runconfig; |
2 | |
3 | import java.util.Map; |
4 | |
5 | import de.uka.ipd.sdq.cip.configuration.CompletionConfiguration; |
6 | import de.uka.ipd.sdq.workflow.pcm.configurations.AbstractCodeGenerationWorkflowRunConfiguration; |
7 | import de.uka.ipd.sdq.workflow.pcm.jobs.LoadPCMModelsIntoBlackboardJob; |
8 | |
9 | /** |
10 | * A CompletionConfiguration for PCM workflows. |
11 | * |
12 | * @author Thomas Schuischel |
13 | * |
14 | */ |
15 | public class PCMCompletionRunConfiguration extends CompletionConfiguration { |
16 | |
17 | /** |
18 | * Creates a new PCMCompletionRunConfiguration |
19 | * @param pcmconfig the AbstractCodeGenerationWorkflowRunConfiguration derived configuration |
20 | * @param configuration the configuration map |
21 | */ |
22 | public PCMCompletionRunConfiguration(AbstractCodeGenerationWorkflowRunConfiguration pcmconfig, Map<String, Object> configuration) { |
23 | super(configuration); |
24 | setInputPartitionName(LoadPCMModelsIntoBlackboardJob.PCM_MODELS_PARTITION_ID); |
25 | setProjectID(pcmconfig.getStoragePluginID()); |
26 | } |
27 | } |