Class PipelineExecutorTaskManagerImplHelper
- java.lang.Object
-
- org.guvnor.ala.pipeline.execution.impl.PipelineExecutorTaskManagerImplHelper
-
public class PipelineExecutorTaskManagerImplHelper extends Object
This class is directly related to the PipelineExecutorTaskManagerImpl and contains specific helper methods for alleviating his job.
-
-
Constructor Summary
Constructors Constructor Description PipelineExecutorTaskManagerImplHelper(javax.enterprise.inject.Instance<ConfigExecutor> configExecutorInstance, javax.enterprise.inject.Instance<PipelineEventListener> pipelineEventListenerInstance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorServicecreateExecutorService()List<PipelineEventListener>createExternalListeners()PipelineExecutorcreatePipelineExecutor()PipelineExecutorTaskImplcreateTask(PipelineExecutorTaskDef taskDef)PipelineExecutorTaskImplcreateTask(PipelineExecutorTaskDef taskDef, String executionId)StringgenerateTaskId()protected PipelineExecutornewPipelineExecutor(Collection<ConfigExecutor> configs)added for testing/internal purposes, interested parties must use createPipelineExecutor()voidnotifyExternalListeners(List<PipelineEventListener> externalListeners, PipelineEvent event)voidsetTaskInStoppedStatus(PipelineExecutorTaskImpl task)
-
-
-
Constructor Detail
-
PipelineExecutorTaskManagerImplHelper
public PipelineExecutorTaskManagerImplHelper(javax.enterprise.inject.Instance<ConfigExecutor> configExecutorInstance, javax.enterprise.inject.Instance<PipelineEventListener> pipelineEventListenerInstance)
-
-
Method Detail
-
createExecutorService
public ExecutorService createExecutorService()
-
createPipelineExecutor
public PipelineExecutor createPipelineExecutor()
-
newPipelineExecutor
protected PipelineExecutor newPipelineExecutor(Collection<ConfigExecutor> configs)
added for testing/internal purposes, interested parties must use createPipelineExecutor()
-
createExternalListeners
public List<PipelineEventListener> createExternalListeners()
-
notifyExternalListeners
public void notifyExternalListeners(List<PipelineEventListener> externalListeners, PipelineEvent event)
-
createTask
public PipelineExecutorTaskImpl createTask(PipelineExecutorTaskDef taskDef)
-
createTask
public PipelineExecutorTaskImpl createTask(PipelineExecutorTaskDef taskDef, String executionId)
-
generateTaskId
public String generateTaskId()
-
setTaskInStoppedStatus
public void setTaskInStoppedStatus(PipelineExecutorTaskImpl task)
-
-