net.sf.pipet.api
Class DefaultModuleInterface
java.lang.Object
net.sf.pipet.api.AbstractModule
net.sf.pipet.api.VersionedModule
net.sf.pipet.api.DefaultModuleInterface
- All Implemented Interfaces:
- ModuleInterface
- Direct Known Subclasses:
- SimpleInputOutputModule
public abstract class DefaultModuleInterface
- extends VersionedModule
A simple ModuleInterface
, which provides a default implementation for most methods.
This class is provided to reduce the effort of creating a new module.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultModuleInterface
public DefaultModuleInterface()
getOutputPipeTypes
public Map<String,String> getOutputPipeTypes(ModuleAttributes atts)
- Returns an empty set.
- Parameters:
atts
- The module attributes.
getInputPipeTypes
public Map<String,String> getInputPipeTypes(ModuleAttributes atts)
- Returns an empty set.
- Parameters:
atts
- The module data.
getInstallationConfigurator
public ModuleInterface.ModuleConfigurator getInstallationConfigurator(int interface_type)
- Returns null.
- Parameters:
interface_type
- the type of user interface, which is one of: ModuleInterface.UI_NONINTERACTIVE
, ModuleInterface.UI_GUI
.
- Returns:
- a ModuleConfigurator object, or null if the module is not install-time configurable.
getPipelineConfigurator
public ModuleInterface.ModuleConfigurator getPipelineConfigurator(int interface_type)
- Returns null.
- Parameters:
interface_type
- the type of user interface, which is one of: ModuleInterface.UI_NONINTERACTIVE
, ModuleInterface.UI_GUI
.
- Returns:
- a ModuleConfigurator object, or null if the module is not pipeline configurable.
getRuntimeConfigurator
public ModuleInterface.ModuleConfigurator getRuntimeConfigurator(int interface_type)
- Returns null.
- Parameters:
interface_type
- the type of user interface, which is one of: ModuleInterface.UI_NONINTERACTIVE
, ModuleInterface.UI_GUI
.
- Returns:
- a
ModuleInterface.ModuleConfigurator
object, or null if the module is not runtime configurable.
Copyright © 2012 VU University Amsterdam. All Rights Reserved.