| 1 | /** |
| 2 | * |
| 3 | */ |
| 4 | package de.uka.ipd.sdq.workflow.pcm.jobs; |
| 5 | |
| 6 | import de.uka.ipd.sdq.workflow.IJob; |
| 7 | import de.uka.ipd.sdq.workflow.pcm.configurations.AbstractPCMWorkflowRunConfiguration; |
| 8 | |
| 9 | /**Builder for jobs with configurations of type {@link AbstractPCMWorkflowRunConfiguration}. |
| 10 | * @author groenda |
| 11 | * |
| 12 | */ |
| 13 | public abstract class PCMWorkflowJobBuilder { |
| 14 | |
| 15 | /**Template method which returns a new job for the given configuration. |
| 16 | * @param config The configuration for the job. |
| 17 | * @return Executable job. |
| 18 | */ |
| 19 | public abstract IJob buildJob(AbstractPCMWorkflowRunConfiguration config); |
| 20 | } |