Package org.tweetyproject.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 TypeMethodDescriptionexecute
(File[] input, CommandParameter[] params) passes by the arguments given with the call to the called pluginreturns the keyword used in the cli to call this pluginreturns parameters allowed with plugin calls
-
Method Details
-
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
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
-