public class ChoiceMode extends 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(Environment env)
Creates a TableConsumer, deriving any additional required
configuration from a given environment.
|
Parameter<?>[] |
getAssociatedParameters()
Returns a list of any parameters which are associated with this mode.
|
String |
getDescription()
Returns a textual description of this processing mode.
|
OutputModeParameter |
getOutputModeParameter()
Returns the parameter used to acquire the chosen output mode.
|
public Parameter<?>[] getAssociatedParameters()
ProcessingModegetAssociatedParameters in interface ProcessingModepublic OutputModeParameter getOutputModeParameter()
public String getDescription()
ProcessingModegetDescription in interface ProcessingModepublic TableConsumer createConsumer(Environment env) throws TaskException
ProcessingModecreateConsumer in interface ProcessingModeenv - execution environmentTaskExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.