Package net.sf.tweety.plugin
Interface TweetyPlugin
-
- All Superinterfaces:
net.xeoh.plugins.base.Plugin
- All Known Implementing Classes:
AbstractTweetyPlugin
,FirstOrderLogicPlugin
,PlPlugin
,PreferencesPlugin
,RPCLPlugin
public interface TweetyPlugin extends net.xeoh.plugins.base.Plugin
This class provides the base for each plugin's functionality- Author:
- Bastian Wolf
-
-
Method Summary
Modifier and Type Method Description PluginOutput
execute(java.io.File[] input, CommandParameter[] params)
passes by the arguments given with the call to the called pluginjava.lang.String
getCommand()
returns the keyword used in the cli to call this pluginjava.util.List<CommandParameter>
getParameters()
returns parameters allowed with plugin calls
-
-
-
Method Detail
-
getCommand
java.lang.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(java.io.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
java.util.List<CommandParameter> getParameters()
returns parameters allowed with plugin calls- Returns:
- parameters allowed with plugin calls
-
-