M
- public abstract class AbstractPipelineManager<M> extends java.lang.Object implements PipelineManager<M>
Constructor and Description |
---|
AbstractPipelineManager(PipelineDefinitionRegistry pipelineDefinitionRegistry,
MetricRegistry metricRegistry,
<any> stageConfigRegistry,
StageFactory<M> stageFactory,
ConfigurationComponent configurationComponent) |
Modifier and Type | Method and Description |
---|---|
void |
finalizeJob(java.lang.String pipelineId) |
ConfigurationComponent |
getConfigurationComponent() |
java.util.List<PipelineStatus> |
getHistoricalJobs(java.lang.String pipelineId) |
Pipeline<M> |
getOrCreatePipeline(java.lang.String pipelineId,
java.util.Map<java.lang.String,java.lang.String> initialProperties)
Return the current pipeline instance for the given id, or create one
|
java.util.Optional<Pipeline<M>> |
getPipeline(java.lang.String pipelineId)
Return the current pipeline instance for the given id, if it exists
|
public AbstractPipelineManager(PipelineDefinitionRegistry pipelineDefinitionRegistry, MetricRegistry metricRegistry, <any> stageConfigRegistry, StageFactory<M> stageFactory, ConfigurationComponent configurationComponent)
public java.util.Optional<Pipeline<M>> getPipeline(java.lang.String pipelineId)
PipelineManager
getPipeline
in interface PipelineManager<M>
public Pipeline<M> getOrCreatePipeline(java.lang.String pipelineId, java.util.Map<java.lang.String,java.lang.String> initialProperties)
PipelineManager
getOrCreatePipeline
in interface PipelineManager<M>
public ConfigurationComponent getConfigurationComponent()
public void finalizeJob(java.lang.String pipelineId)
finalizeJob
in interface PipelineManager<M>
public java.util.List<PipelineStatus> getHistoricalJobs(java.lang.String pipelineId)