public final class PluginProxy extends PluginBase
Constructor and Description |
---|
PluginProxy(IPluginInterface plugin,
PluginDefinition pluginDef)
Instantiate a new plugin proxy.
|
Modifier and Type | Method and Description |
---|---|
ReturnValue |
execute(ICommandLine cl)
Not used.
|
ReturnValue |
execute(String[] args)
Executes the proxied plugin passing the received arguments as parameters.
|
Collection<PluginOption> |
getOptions()
Returns a collection of all the options accepted by this plugin.
|
void |
printHelp()
Prints the help related to the plugin (standard output).
|
addListener, addListeners, sendEvent, sendEvent, sendEvent
public PluginProxy(IPluginInterface plugin, PluginDefinition pluginDef)
plugin
- The plugin to be proxiedpluginDef
- The plugin definition of the plugin to be proxiedpublic Collection<PluginOption> getOptions()
public ReturnValue execute(String[] args)
args
- The parameters to be passed to the pluginpublic void printHelp()
public ReturnValue execute(ICommandLine cl)
cl
- Not usedCopyright © 2013. All Rights Reserved.