uk.ac.starlink.ttools.task
Interface TableConsumerParameter

All Known Implementing Classes:
OutputModeParameter, OutputTableParameter

public interface TableConsumerParameter

Defines an object (probably a parameter) which can return a TableConsumer.

Since:
15 Aug 2005
Author:
Mark Taylor

Method Summary
 TableConsumer consumerValue(Environment env)
          Returns a TableConsumer which corresponds to the value of this parameter.
 void setValueFromConsumer(Environment env, TableConsumer consumer)
          Sets the value of this parameter directly from a TableConsumer.
 

Method Detail

consumerValue

TableConsumer consumerValue(Environment env)
                            throws TaskException
Returns a TableConsumer which corresponds to the value of this parameter.

Parameters:
env - execution environment
Throws:
TaskException

setValueFromConsumer

void setValueFromConsumer(Environment env,
                          TableConsumer consumer)
                          throws TaskException
Sets the value of this parameter directly from a TableConsumer.

Parameters:
env - execution environment
consumer - consumer
Throws:
TaskException


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.