Package uk.ac.starlink.ttools.mode
Interface ProcessingMode
-
- All Known Implementing Classes:
CgiMode,ChoiceMode,CopyMode,CountMode,CubeMode,ExtAppMode,JdbcMode,MetadataMode,MocMode,NullMode,SampMode,StatsMode,SwingMode,TopcatMode
public interface ProcessingModeInterface defining the final element of a table processing pipeline - the one which disposes of the generated table in some way.- Since:
- 9 Aug 2005
- Author:
- Mark Taylor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TableConsumercreateConsumer(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.StringgetDescription()Returns a textual description of this processing mode.
-
-
-
Method Detail
-
createConsumer
TableConsumer createConsumer(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
Creates a TableConsumer, deriving any additional required configuration from a given environment.- Parameters:
env- execution environment- Throws:
uk.ac.starlink.task.TaskException
-
getAssociatedParameters
uk.ac.starlink.task.Parameter<?>[] getAssociatedParameters()
Returns a list of any parameters which are associated with this mode.- Returns:
- parameter list
-
getDescription
java.lang.String getDescription()
Returns a textual description of this processing mode. This will be included in the user document so should be in XML.- Returns:
- textual description of this mode
-
-