public interface PipelineRegistry
Modifier and Type | Field and Description |
---|---|
static String |
PIPELINE_NAME_SORT |
Modifier and Type | Method and Description |
---|---|
Pipeline |
getPipelineByName(String pipelineId)
Gets a Pipeline by Name.
|
List<Pipeline> |
getPipelines(int page,
int pageSize,
String sort,
boolean sortOrder)
Gets all the registered Pipelines
|
List<Pipeline> |
getPipelines(String providerType,
String version,
int page,
int pageSize,
String sort,
boolean sortOrder)
Gets all the registered Pipelines for a given provider type.
|
ProviderType |
getProviderType(String pipelineId)
Gets the associated provider type for a given pipeline.
|
void |
registerPipeline(Pipeline pipeline)
Registers a Pipeline
|
void |
registerPipeline(Pipeline pipeline,
ProviderType providerType)
Registers a Pipeline by associating it to a provider type.
|
static final String PIPELINE_NAME_SORT
void registerPipeline(Pipeline pipeline)
pipeline
- The Pipeline to be registered.void registerPipeline(Pipeline pipeline, ProviderType providerType)
pipeline
- The Pipeline to be registered.providerType
- The provider type for associating the Pipeline.Pipeline getPipelineByName(String pipelineId)
pipelineId
- the pipeline id.List<Pipeline> getPipelines(int page, int pageSize, String sort, boolean sortOrder)
page
- the page numberpageSize
- the page sizesort
- the sort columnsortOrder
- the sort order to use: true ascending, false descendingList<Pipeline> getPipelines(String providerType, String version, int page, int pageSize, String sort, boolean sortOrder)
providerType
- A provider type name.version
- the provider type version.page
- the page numberpageSize
- the page sizesort
- the sort columnsortOrder
- the sort order to use: true ascending, false descendingProviderType getProviderType(String pipelineId)
pipelineId
- a pipeline id.Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.