ProcessingModepublic class ChoiceMode extends java.lang.Object implements ProcessingMode
ConsumerTask constructor.
Note: that use of this mode is used by the
JyStilts script
to identify tasks whose primary output is a table,
so that such tables can by default be returned to the jython environment
rather than serialised to output files.
| Constructor | Description |
|---|---|
ChoiceMode() |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
TableConsumer |
createConsumer(uk.ac.starlink.task.Environment env) |
Creates a TableConsumer, deriving any additional required
configuration from a given environment.
|
uk.ac.starlink.task.Parameter[] |
getAssociatedParameters() |
Returns a list of any parameters which are associated with this mode.
|
java.lang.String |
getDescription() |
Returns a textual description of this processing mode.
|
public uk.ac.starlink.task.Parameter[] getAssociatedParameters()
ProcessingModegetAssociatedParameters in interface ProcessingModepublic java.lang.String getDescription()
ProcessingModegetDescription in interface ProcessingModepublic TableConsumer createConsumer(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
ProcessingModecreateConsumer in interface ProcessingModeenv - execution environmentuk.ac.starlink.task.TaskExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.