public interface PipelineServiceBackend
| Modifier and Type | Method and Description |
|---|---|
void |
deletePipelineExecution(String executionId)
Deletes a pipeline execution
|
List<PipelineConfig> |
getPipelineConfigs(Integer page,
Integer pageSize,
String sort,
boolean sortOrder)
Get all the Pipeline Configurations registered in the service
|
List<PipelineConfig> |
getPipelineConfigs(ProviderType providerType,
Integer page,
Integer pageSize,
String sort,
boolean sortOrder)
Gets the Pipeline Configurations registered in the service and associated with the given provider type.
|
List<String> |
getPipelineNames(ProviderType providerType,
Integer page,
Integer pageSize,
String sort,
boolean sortOrder)
Gets the names of the Pipelines associated to the given provider type.
|
String |
newPipeline(PipelineConfig pipelineConfig)
Registers a new Pipeline with the provided configuration
|
String |
newPipeline(PipelineConfig pipelineConfig,
ProviderType providerType)
Registers a new Pipeline with the provided configuration and associates it to a provider type.
|
String |
runPipeline(String id,
Input input,
boolean async)
Execute a registered Pipeline
|
void |
stopPipelineExecution(String executionId)
Stops a running pipeline execution.
|
List<PipelineConfig> getPipelineConfigs(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
BusinessExceptionList<PipelineConfig> getPipelineConfigs(ProviderType providerType, Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
providerType - a provider type registered in the system.BusinessExceptionList<String> getPipelineNames(ProviderType providerType, Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
providerType - a provider type registered in the system.BusinessExceptionString newPipeline(PipelineConfig pipelineConfig) throws BusinessException
pipelineConfig - the pipeline configuration.BusinessExceptionPipelineConfigString newPipeline(PipelineConfig pipelineConfig, ProviderType providerType) throws BusinessException
pipelineConfig - the pipeline configuration.providerType - the provider type for associating the pipeline with.BusinessExceptionPipelineConfigString runPipeline(String id, Input input, boolean async) throws BusinessException
id - of the pipeline to be executedinput - to be used for the pipeline executionasync - establishes the execution mode. true for asynchronous execution, false for synchronous execution.BusinessExceptionvoid stopPipelineExecution(String executionId) throws BusinessException
executionId - A pipeline execution id to stop. The pipeline execution id is typically returned by
the runPipeline method.BusinessExceptionvoid deletePipelineExecution(String executionId) throws BusinessException
executionId - A pipeline execution id to delete. The pipeline execution id is typically returned by
the runPipeline method.BusinessExceptionCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.