@ApplicationScoped public class PipelineServiceBackendImpl extends Object implements PipelineServiceBackend
Constructor and Description |
---|
PipelineServiceBackendImpl() |
PipelineServiceBackendImpl(PipelineService pipelineService) |
Modifier and Type | Method and Description |
---|---|
void |
deletePipelineExecution(String executionId) |
List<PipelineConfig> |
getPipelineConfigs(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
List<PipelineConfig> |
getPipelineConfigs(ProviderType providerType,
Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
List<String> |
getPipelineNames(ProviderType providerType,
Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
String |
newPipeline(PipelineConfig config) |
String |
newPipeline(PipelineConfig pipelineConfig,
ProviderType providerType) |
String |
runPipeline(String id,
Input input,
boolean async) |
void |
stopPipelineExecution(String executionId) |
public PipelineServiceBackendImpl()
@Inject public PipelineServiceBackendImpl(PipelineService pipelineService)
public List<PipelineConfig> getPipelineConfigs(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getPipelineConfigs
in interface PipelineServiceBackend
BusinessException
public List<PipelineConfig> getPipelineConfigs(ProviderType providerType, Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getPipelineConfigs
in interface PipelineServiceBackend
BusinessException
public List<String> getPipelineNames(ProviderType providerType, Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getPipelineNames
in interface PipelineServiceBackend
BusinessException
public String newPipeline(PipelineConfig pipelineConfig, ProviderType providerType) throws BusinessException
newPipeline
in interface PipelineServiceBackend
BusinessException
public String newPipeline(PipelineConfig config) throws BusinessException
newPipeline
in interface PipelineServiceBackend
BusinessException
public String runPipeline(String id, Input input, boolean async) throws BusinessException
runPipeline
in interface PipelineServiceBackend
BusinessException
public void stopPipelineExecution(String executionId) throws BusinessException
stopPipelineExecution
in interface PipelineServiceBackend
BusinessException
public void deletePipelineExecution(String executionId) throws BusinessException
deletePipelineExecution
in interface PipelineServiceBackend
BusinessException
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.