Class AdfReasonerCalleeFactory

java.lang.Object
org.tweetyproject.web.services.adf.AdfReasonerCalleeFactory

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

    • getCommands

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

      Creates and returns a Callee instance based on the provided Command, AbstractADFReasoner, and ADF parameters.
      Parameters:
      cmd - The command to be executed
      reasoner - The AbstractADFReasoner to be used
      bbase - The ADF to be processed
      Returns:
      A Callee instance corresponding to the specified command
      Throws:
      RuntimeException - If the specified command is not found