Class HomogeneousTablesInput

  • All Implemented Interfaces:
    TablesInput

    public class HomogeneousTablesInput
    extends java.lang.Object
    implements TablesInput
    TablesInput which has a variable number of input tables, treating them all the same as each other. A single, possibly repeated, parameter is used to specify any number of input tables, and a single (not repeated) filter parameter is used to specify a processing pipeline which operates identically on all the inputs.
    Since:
    1 Jul 2010
    Author:
    Mark Taylor
    • Constructor Summary

      Constructors 
      Constructor Description
      HomogeneousTablesInput​(boolean useInFilter)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      InputTableSpec[] getInputSpecs​(uk.ac.starlink.task.Environment env)
      Returns an array of InputTableSpec objects describing the input tables used by this task.
      uk.ac.starlink.task.Parameter[] getParameters()
      Returns the parameters associated with this object.
      • Methods inherited from class java.lang.Object

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

      • HomogeneousTablesInput

        public HomogeneousTablesInput​(boolean useInFilter)
        Constructor.
        Parameters:
        useInFilter - whether preprocessing filters are permitted
    • Method Detail

      • getParameters

        public uk.ac.starlink.task.Parameter[] getParameters()
        Description copied from interface: TablesInput
        Returns the parameters associated with this object.
        Specified by:
        getParameters in interface TablesInput
        Returns:
        parameters
      • getInputSpecs

        public InputTableSpec[] getInputSpecs​(uk.ac.starlink.task.Environment env)
                                       throws uk.ac.starlink.task.TaskException
        Description copied from interface: TablesInput
        Returns an array of InputTableSpec objects describing the input tables used by this task.
        Specified by:
        getInputSpecs in interface TablesInput
        Parameters:
        env - execution environment
        Returns:
        input table specifiers
        Throws:
        uk.ac.starlink.task.TaskException