@Test public void testDeletePipelineExecution() { pipelineServiceBackend.deletePipelineExecution(PIPELINE_EXECUTION_ID); verify(pipelineService, times(1)).deletePipelineExecution(PIPELINE_EXECUTION_ID); }
@Override public void deletePipelineExecution(final String executionId) throws BusinessException { pipelineService.deletePipelineExecution(executionId); }
PipelineServiceBackendImpl implements PipelineServiceBackend { @Override public void deletePipelineExecution(final String executionId) throws BusinessException { pipelineService.deletePipelineExecution(executionId); } }
PipelineServiceBackendImpl implements PipelineServiceBackend { @Override public void deletePipelineExecution(final String executionId) throws BusinessException { pipelineService.deletePipelineExecution(executionId); } PipelineServiceBackendImpl(); @Inject  PipelineServiceBackendImpl(final PipelineService pipelineService); }
PipelineServiceBackendImpl implements PipelineServiceBackend { @Override public void deletePipelineExecution(final String executionId) throws BusinessException { pipelineService.deletePipelineExecution(executionId); } PipelineServiceBackendImpl(); @Inject  PipelineServiceBackendImpl(final PipelineService pipelineService); @Override List<PipelineConfig> getPipelineConfigs(Integer page,
                                                   Integer pageSize,
                                                   String sort,
                                                   boolean sortOrder); @Override List<PipelineConfig> getPipelineConfigs(ProviderType providerType,
                                                   Integer page,
                                                   Integer pageSize,
                                                   String sort,
                                                   boolean sortOrder); @Override List<String> getPipelineNames(ProviderType providerType,
                                         Integer page,
                                         Integer pageSize,
                                         String sort,
                                         boolean sortOrder); @Override String newPipeline(PipelineConfig pipelineConfig,
                              ProviderType providerType); @Override String newPipeline(PipelineConfig config); @Override String runPipeline(String id,
                              Input input,
                              boolean async); @Override void stopPipelineExecution(final String executionId); @Override void deletePipelineExecution(final String executionId); }
PipelineServiceBackendImpl implements PipelineServiceBackend { @Override public void deletePipelineExecution(final String executionId) throws BusinessException { pipelineService.deletePipelineExecution(executionId); } PipelineServiceBackendImpl(); @Inject  PipelineServiceBackendImpl(final PipelineService pipelineService); @Override List<PipelineConfig> getPipelineConfigs(Integer page,
                                                   Integer pageSize,
                                                   String sort,
                                                   boolean sortOrder); @Override List<PipelineConfig> getPipelineConfigs(ProviderType providerType,
                                                   Integer page,
                                                   Integer pageSize,
                                                   String sort,
                                                   boolean sortOrder); @Override List<String> getPipelineNames(ProviderType providerType,
                                         Integer page,
                                         Integer pageSize,
                                         String sort,
                                         boolean sortOrder); @Override String newPipeline(PipelineConfig pipelineConfig,
                              ProviderType providerType); @Override String newPipeline(PipelineConfig config); @Override String runPipeline(String id,
                              Input input,
                              boolean async); @Override void stopPipelineExecution(final String executionId); @Override void deletePipelineExecution(final String executionId);  }