@ApplicationScoped public class RestPipelineServiceImpl extends Object implements PipelineService
Constructor and Description |
---|
RestPipelineServiceImpl() |
RestPipelineServiceImpl(PipelineExecutorTaskManager executorTaskManager,
PipelineRegistry pipelineRegistry,
RuntimeRegistry runtimeRegistry,
javax.enterprise.inject.Instance<SystemPipelineDescriptor> pipelineDescriptorInstance) |
Modifier and Type | Method and Description |
---|---|
void |
deletePipelineExecution(String executionId) |
PipelineConfigsList |
getPipelineConfigs(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
PipelineConfigsList |
getPipelineConfigs(String providerTypeName,
String providerTypeVersion,
Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
List<String> |
getPipelineNames(String providerTypeName,
String providerTypeVersion,
Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
String |
newPipeline(PipelineConfig config) |
String |
newPipeline(PipelineConfig config,
ProviderType providerType) |
String |
runPipeline(String pipelineId,
Input input,
boolean async) |
void |
stopPipelineExecution(String executionId) |
public RestPipelineServiceImpl()
@Inject public RestPipelineServiceImpl(PipelineExecutorTaskManager executorTaskManager, PipelineRegistry pipelineRegistry, RuntimeRegistry runtimeRegistry, @Any javax.enterprise.inject.Instance<SystemPipelineDescriptor> pipelineDescriptorInstance)
public PipelineConfigsList getPipelineConfigs(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getPipelineConfigs
in interface PipelineService
BusinessException
public PipelineConfigsList getPipelineConfigs(String providerTypeName, String providerTypeVersion, Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getPipelineConfigs
in interface PipelineService
BusinessException
public List<String> getPipelineNames(String providerTypeName, String providerTypeVersion, Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getPipelineNames
in interface PipelineService
BusinessException
public String newPipeline(PipelineConfig config) throws BusinessException
newPipeline
in interface PipelineService
BusinessException
public String newPipeline(PipelineConfig config, ProviderType providerType) throws BusinessException
newPipeline
in interface PipelineService
BusinessException
public String runPipeline(String pipelineId, Input input, boolean async) throws BusinessException
runPipeline
in interface PipelineService
BusinessException
public void stopPipelineExecution(String executionId) throws BusinessException
stopPipelineExecution
in interface PipelineService
BusinessException
public void deletePipelineExecution(String executionId) throws BusinessException
deletePipelineExecution
in interface PipelineService
BusinessException
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.