|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.task.ChoiceMode
public class ChoiceMode
Output mode which can be used to give the user, via the parameter
system, the choice about what mode to use.
This mode is not intended for use as one amongst many, but as the
only ProcessingMode for a processing sequence, for instance
as the parameter to the 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 Summary | |
---|---|
ChoiceMode()
Constructor. |
Method Summary | |
---|---|
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. |
String |
getDescription()
Returns a textual description of this processing mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChoiceMode()
Method Detail |
---|
public uk.ac.starlink.task.Parameter[] getAssociatedParameters()
ProcessingMode
getAssociatedParameters
in interface ProcessingMode
public 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 environment
uk.ac.starlink.task.TaskException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |