public 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 and Description |
---|
ChoiceMode()
Constructor.
|
Modifier and Type | Method and 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()
ProcessingMode
getAssociatedParameters
in interface ProcessingMode
public java.lang.String getDescription()
ProcessingMode
getDescription
in interface ProcessingMode
public TableConsumer createConsumer(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
ProcessingMode
createConsumer
in interface ProcessingMode
env
- execution environmentuk.ac.starlink.task.TaskException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.