Class TPipeline


  • public class TPipeline
    extends java.lang.Object
    TPipeline(template pipeline) is a data structure that holds the information about a pipeline needed by the velocity templates to generate code.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<TStep> steps  
    • Constructor Summary

      Constructors 
      Constructor Description
      TPipeline​(java.util.List<Step> steps)
      Creates a Tpipeline from a pipeline
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<TStep> getMovingThresholds()
      Creates a list of all of the Moving_Threshold operations.
      java.util.List<TInput> getSources()
      Returns a list of all of the sources in a the pipeline.
      java.util.List<TStep> getSteps()
      used in Pipeline.vm to get all of the TSteps
      java.util.List<TStep> getUniqueSteps()
      Creates a list of the unique operations in a pipeline.
      int instancesOfOperation​(java.lang.String operationName)
      Gets the number of instances of an operation in the pipeline.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • steps

        protected java.util.List<TStep> steps
    • Constructor Detail

      • TPipeline

        public TPipeline​(java.util.List<Step> steps)
        Creates a Tpipeline from a pipeline
        Parameters:
        steps - The list of steps from the pipeline to generate.
    • Method Detail

      • getSteps

        public java.util.List<TStep> getSteps()
        used in Pipeline.vm to get all of the TSteps
        Returns:
        the TSteps that are in the TPipeline
      • getUniqueSteps

        public java.util.List<TStep> getUniqueSteps()
        Creates a list of the unique operations in a pipeline. Used in templates.
        Returns:
        A list of the unique steps.
      • getSources

        public java.util.List<TInput> getSources()
        Returns a list of all of the sources in a the pipeline.
        Returns:
        the list of sources.
      • getMovingThresholds

        public java.util.List<TStep> getMovingThresholds()
        Creates a list of all of the Moving_Threshold operations. Used in Templates.
        Returns:
        the list of Moving_Threshold operations.
      • instancesOfOperation

        public int instancesOfOperation​(java.lang.String operationName)
        Gets the number of instances of an operation in the pipeline.
        Parameters:
        operationName - the name of the operation
        Returns:
        the number of instances of an operation in this pipeline