Class TStep


  • public class TStep
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TStep​(java.lang.String name, int stepNum)
      This is a constructor for a Template step.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addInput​(TInput input)
      Adds an already created TInput to a step.
      void addOutput​(TOutput output)
      Adds an already created TOutput to a step.
      TInput getInput​(int idx)
      gets a specific Input for use in templates.
      java.util.List<TInput> getInputs()
      returns all of the inputs of a step.
      TOutput getOutput​(int idx)
      gets a specific Output for use in templates.
      java.util.List<TOutput> getOutputs()
      returns all of the Outputs of a step.
      java.lang.String name()
      gets the name of the step
      int num()
      The number of the step.
      • Methods inherited from class java.lang.Object

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

      • TStep

        public TStep​(java.lang.String name,
                     int stepNum)
        This is a constructor for a Template step.
        Parameters:
        name - The name of the step.
        stepNum - The number of the step in the pipeline.
    • Method Detail

      • addInput

        public void addInput​(TInput input)
        Adds an already created TInput to a step.
        Parameters:
        input - a TInput to be added
      • addOutput

        public void addOutput​(TOutput output)
        Adds an already created TOutput to a step.
        Parameters:
        output - a TOutput to be added
      • name

        public java.lang.String name()
        gets the name of the step
        Returns:
        the GRIP name of the step with underscores instead of spaces.
      • getInputs

        public java.util.List<TInput> getInputs()
        returns all of the inputs of a step.
        Returns:
        all of the inputs of the step.
      • getOutputs

        public java.util.List<TOutput> getOutputs()
        returns all of the Outputs of a step.
        Returns:
        all of the Outputs of the step.
      • getInput

        public TInput getInput​(int idx)
        gets a specific Input for use in templates.
        Parameters:
        idx - the index of the input.
        Returns:
        the TOutput at the index.
      • getOutput

        public TOutput getOutput​(int idx)
        gets a specific Output for use in templates.
        Parameters:
        idx - the index of the Output.
        Returns:
        the TOutput at the index.
      • num

        public int num()
        The number of the step. Each different type of step is numbered separately.
        Returns:
        the number of the step.