@Test public void testRegisterPipeline() { verifyPipelineIsNotRegistered(pipeline); pipelineRegistry.registerPipeline(pipeline); verifyPipelineIsRegistered(pipeline); }
@Override public void registerPipeline(final Pipeline pipeline) { checkNotNull("pipeline", pipeline); pipelineByName.put(pipeline.getName(), new PipelineRegistryEntry(pipeline)); }
InMemoryPipelineRegistry implements PipelineRegistry { @Override public void registerPipeline(final Pipeline pipeline) { checkNotNull("pipeline", pipeline); pipelineByName.put(pipeline.getName(), new PipelineRegistryEntry(pipeline)); } }
InMemoryPipelineRegistry implements PipelineRegistry { @Override public void registerPipeline(final Pipeline pipeline) { checkNotNull("pipeline", pipeline); pipelineByName.put(pipeline.getName(), new PipelineRegistryEntry(pipeline)); } InMemoryPipelineRegistry(); }
InMemoryPipelineRegistry implements PipelineRegistry { @Override public void registerPipeline(final Pipeline pipeline) { checkNotNull("pipeline", pipeline); pipelineByName.put(pipeline.getName(), new PipelineRegistryEntry(pipeline)); } InMemoryPipelineRegistry(); @Override void registerPipeline(final Pipeline pipeline); @Override void registerPipeline(final Pipeline pipeline,
                                 final ProviderType providerType); @Override Pipeline getPipelineByName(final String pipelineId); @Override List<Pipeline> getPipelines(final int page,
                                       final int pageSize,
                                       final String sort,
                                       final boolean sortOrder); @Override List<Pipeline> getPipelines(final String providerType,
                                       final String version,
                                       final int page,
                                       final int pageSize,
                                       final String sort,
                                       final boolean sortOrder); @Override ProviderType getProviderType(final String pipelineId); }
InMemoryPipelineRegistry implements PipelineRegistry { @Override public void registerPipeline(final Pipeline pipeline) { checkNotNull("pipeline", pipeline); pipelineByName.put(pipeline.getName(), new PipelineRegistryEntry(pipeline)); } InMemoryPipelineRegistry(); @Override void registerPipeline(final Pipeline pipeline); @Override void registerPipeline(final Pipeline pipeline,
                                 final ProviderType providerType); @Override Pipeline getPipelineByName(final String pipelineId); @Override List<Pipeline> getPipelines(final int page,
                                       final int pageSize,
                                       final String sort,
                                       final boolean sortOrder); @Override List<Pipeline> getPipelines(final String providerType,
                                       final String version,
                                       final int page,
                                       final int pageSize,
                                       final String sort,
                                       final boolean sortOrder); @Override ProviderType getProviderType(final String pipelineId);  }