Class SubPipelineHelper

java.lang.Object
eu.qualimaster.easy.extension.internal.SubPipelineHelper
All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IVilType

public class SubPipelineHelper extends Object implements net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
Provides access to sub-pipeline information. This is required as loose sub-pipeline information is (currently) an implementation style / property.
Author:
Holger Eichelberger
  • Constructor Details

    • SubPipelineHelper

      public SubPipelineHelper()
  • Method Details

    • isSubPipeline

      public static boolean isSubPipeline(String pipelineName, String subPipelineName)
      Returns whether a given subPipelineName indicates a sub-pipeline of pipelineName.
      Parameters:
      pipelineName - the name of the pipeline
      subPipelineName - the name of the sub-pipeline
      Returns:
      true if subPipelineName is a sub-pipeline of pipelineName
    • isSubPipeline

      public static boolean isSubPipeline(eu.qualimaster.coordination.INameMapping mapping, String pipelineName, String subPipelineName)
      Returns whether a given subPipelineName indicates a sub-pipeline of pipelineName.
      Parameters:
      mapping - the name mapping to use
      pipelineName - the name of the pipeline
      subPipelineName - the name of the sub-pipeline
      Returns:
      true if subPipelineName is a sub-pipeline of pipelineName