Package uk.ac.starlink.ttools.task
Class FixedTablesInput
java.lang.Object
uk.ac.starlink.ttools.task.FixedTablesInput
- All Implemented Interfaces:
TablesInput
TablesInput which has a fixed number of input tables.
Each input table gets its own numbered table parameter and (if requested)
filter parameter - in1, in2, in3, ... and icmd1, icmd2, icmd3, ...
- Since:
- 1 Jul 2010
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInputSpecs(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<?>[]Returns the parameters associated with this object.
-
Constructor Details
-
FixedTablesInput
public FixedTablesInput(int nIn, boolean useInFilters) Constructor.- Parameters:
nIn- number of input tablesuseInFilters- whether to use input filter parameters
-
-
Method Details
-
getParameters
public uk.ac.starlink.task.Parameter<?>[] getParameters()Description copied from interface:TablesInputReturns the parameters associated with this object.- Specified by:
getParametersin interfaceTablesInput- Returns:
- parameters
-
getInputSpecs
public InputTableSpec[] getInputSpecs(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException Description copied from interface:TablesInputReturns an array of InputTableSpec objects describing the input tables used by this task.- Specified by:
getInputSpecsin interfaceTablesInput- Parameters:
env- execution environment- Returns:
- input table specifiers
- Throws:
uk.ac.starlink.task.TaskException
-