Class PipelineMap


  • public class PipelineMap
    extends Object
    This is a map between the pipeline name and the (running/waiting/finished) pipeline.
    • Constructor Detail

      • PipelineMap

        public PipelineMap()
    • Method Detail

      • addPipeline

        public void addPipeline​(String pipelineName,
                                String containerObjectId,
                                IPipelineEngine<PipelineMeta> pipeline,
                                PipelineConfiguration pipelineConfiguration)
        Add a pipeline to the map
        Parameters:
        pipelineName - The name of the pipeline to add
        containerObjectId - the unique ID of the pipeline in this container.
        pipeline - The pipeline to add
        pipelineConfiguration - the pipeline configuration to add
      • getPipeline

        public IPipelineEngine<PipelineMeta> getPipeline​(String pipelineName)
        Find the first pipeline in the list that comes to mind!
        Parameters:
        pipelineName -
        Returns:
        the first pipeline with the specified name
      • getConfiguration

        public PipelineConfiguration getConfiguration​(String pipelineName)
        Parameters:
        pipelineName -
        Returns:
        The first pipeline configuration with the specified name
      • getConfiguration

        public PipelineConfiguration getConfiguration​(HopServerObjectEntry entry)
        Parameters:
        entry - The HopServer pipeline object
        Returns:
        the pipeline configuration with the specified entry
      • removePipeline

        public void removePipeline​(HopServerObjectEntry entry)
        Parameters:
        entry - the HopServer object entry
      • getHopServerConfig

        public HopServerConfig getHopServerConfig()
        Returns:
        the hopServerConfig
      • setHopServerConfig

        public void setHopServerConfig​(HopServerConfig hopServerConfig)
        Parameters:
        hopServerConfig - the hopServerConfig to set