Interface TweetyPlugin

    • 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 plugin
      java.lang.String getCommand()
      returns the keyword used in the cli to call this plugin
      java.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 plugin
        params - 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