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 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

      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 plugin
      params - 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