Class PlPlugin

  • All Implemented Interfaces:
    net.sf.tweety.plugin.TweetyPlugin, net.xeoh.plugins.base.Plugin

    public class PlPlugin
    extends net.sf.tweety.plugin.AbstractTweetyPlugin
    This class provides the JSPF-Plugin for the propositional logic library Currently plugin is loadable but not executed
    Author:
    Bastian Wolf
    • Field Summary

      • Fields inherited from class net.sf.tweety.plugin.AbstractTweetyPlugin

        parameters
    • Constructor Summary

      Constructors 
      Constructor Description
      PlPlugin()
      actually used constructor, initializing start parameters for this plugin
      PlPlugin​(String[] args)
      non-empty constructor in case of problems concerning jspf
    • Method Summary

      Modifier and Type Method Description
      String[] capabilities()  
      net.sf.tweety.plugin.PluginOutput execute​(File[] input, net.sf.tweety.plugin.parameter.CommandParameter[] params)
      Method to be executed with input files and parameters from tweety cli
      String getCommand()
      returns the parameter used to call this plugin from the tweety cli
      • Methods inherited from class net.sf.tweety.plugin.AbstractTweetyPlugin

        addParameter, getParameters, validateParameter, validateParameter
    • Constructor Detail

      • PlPlugin

        public PlPlugin​(String[] args)
        non-empty constructor in case of problems concerning jspf
        Parameters:
        args - never observed
      • PlPlugin

        public PlPlugin()
        actually used constructor, initializing start parameters for this plugin
    • Method Detail

      • capabilities

        public String[] capabilities()
      • getCommand

        public String getCommand()
        returns the parameter used to call this plugin from the tweety cli
        Specified by:
        getCommand in interface net.sf.tweety.plugin.TweetyPlugin
        Specified by:
        getCommand in class net.sf.tweety.plugin.AbstractTweetyPlugin
      • execute

        public net.sf.tweety.plugin.PluginOutput execute​(File[] input,
                                                         net.sf.tweety.plugin.parameter.CommandParameter[] params)
        Method to be executed with input files and parameters from tweety cli
        Specified by:
        execute in interface net.sf.tweety.plugin.TweetyPlugin
        Specified by:
        execute in class net.sf.tweety.plugin.AbstractTweetyPlugin
        Returns:
        an output written into a file or the console