Package net.sf.tweety.plugin
Interface TweetyPlugin
-
- All Superinterfaces:
net.xeoh.plugins.base.Plugin
- All Known Implementing Classes:
AbstractTweetyPlugin
public interface TweetyPlugin extends net.xeoh.plugins.base.PluginThis class provides the base for each plugin's functionality- Author:
- Bastian Wolf
-
-
Method Summary
Modifier and Type Method Description PluginOutputexecute(File[] input, CommandParameter[] params)passes by the arguments given with the call to the called pluginStringgetCommand()returns the keyword used in the cli to call this pluginList<CommandParameter>getParameters()returns parameters allowed with plugin calls
-
-
-
Method Detail
-
getCommand
String getCommand()
returns the keyword used in the cli to call this plugin- Returns:
- the keyword used in the cli to call this plugin
-
execute
PluginOutput execute(File[] input, CommandParameter[] params)
passes by the arguments given with the call to the called plugin- Parameters:
input- files to be used within the pluginparams- parameter handled in the plugin (e.g. desired output file, iterations...)- Returns:
- the output resulted after the execution
-
getParameters
List<CommandParameter> getParameters()
returns parameters allowed with plugin calls- Returns:
- parameters allowed with plugin calls
-
-