tom.platform
Interface Plugin

All Superinterfaces:
OptionOwner

public interface Plugin
extends OptionOwner

This interface must be implemented by all plugins. It provides methods to access options (inherited from the OptionOwner interface) as well as methods to run the compilation. The processing follow the template: "feed" the plugin (set), run it, retrieve the processed term(get)


Method Summary
 Object[] getArgs()
          Retrieves the output of the plugin.
 void run(Map<String,String> informationTracker)
          Runs the plugin.
 void setArgs(Object[] arg)
          Sets the input of the plugin.
 
Methods inherited from interface tom.platform.OptionOwner
getDeclaredOptionList, getRequiredOptionList, optionChanged, setOptionManager
 

Method Detail

setArgs

void setArgs(Object[] arg)
Sets the input of the plugin.

Parameters:
arg - the input argument

run

void run(Map<String,String> informationTracker)
Runs the plugin.


getArgs

Object[] getArgs()
Retrieves the output of the plugin.

Returns:
the output argument