Class DungReasonerCalleeFactory

java.lang.Object
org.tweetyproject.web.services.dung.DungReasonerCalleeFactory

public class DungReasonerCalleeFactory extends Object
Factory for creating Dung reasoner callees from web request data.
  • Method Details

    • getCommands

      public static DungReasonerCalleeFactory.Command[] getCommands()
      Retrieves an array of all available Command enums.
      Returns:
      An array of Command enums
    • getCallee

      public static Callee getCallee(DungReasonerCalleeFactory.Command cmd, AbstractExtensionReasoner reasoner, DungTheory bbase)
      Creates and returns a Callee instance based on the provided Command, AbstractExtensionReasoner, and DungTheory parameters.
      Parameters:
      cmd - The command to be executed
      reasoner - The AbstractExtensionReasoner to be used
      bbase - The DungTheory to be processed
      Returns:
      A Callee instance corresponding to the specified command
      Throws:
      RuntimeException - If the specified command is not found