public abstract class MultiOutputTask extends Object implements Task
createTableSequence(uk.ac.starlink.task.Environment) method.| Modifier | Constructor and Description |
|---|---|
protected |
MultiOutputTask(String purpose)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Executable |
createExecutable(Environment env)
Creates an executable object which will do the work of this task
in the given Environment.
|
protected abstract TableSequence |
createTableSequence(Environment env)
Interrogates the environment to produce a sequence of tables which
will be written as the output of this task.
|
static TableSequence |
createTableSequence(InputTableSpec[] inSpecs)
Constructs a table sequence based on an array of input table
specifications.
|
protected List<Parameter<?>> |
getParameterList()
Returns the parameter list for this task; it may be modified.
|
Parameter<?>[] |
getParameters()
Returns the list of parameters which may be used by this task.
|
String |
getPurpose()
Returns a short (one-line) description of the purpose of this task.
|
protected MultiOutputTask(String purpose)
purpose - task purposepublic String getPurpose()
TaskgetPurpose in interface Taskpublic Parameter<?>[] getParameters()
TaskgetParameters in interface Taskprotected List<Parameter<?>> getParameterList()
protected abstract TableSequence createTableSequence(Environment env) throws TaskException
env - execution environmentTaskExceptionpublic Executable createExecutable(Environment env) throws TaskException
Taskenv, though this is not
absolutely prohibited.createExecutable in interface Taskenv - the environment in which the task will operateTaskException - if no executable can be created;
this should usually be a UsageException or
some subclasspublic static TableSequence createTableSequence(InputTableSpec[] inSpecs) throws TaskException
inSpecs - array of input tablesTaskExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.