Class BipolarReasonerCalleeFactory
java.lang.Object
org.tweetyproject.web.services.bipolar.BipolarReasonerCalleeFactory
Factory for creating bipolar reasoner callees from web request data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration of commands supported by the factory, each with a unique ID and label. -
Method Summary
Modifier and TypeMethodDescriptionstatic CalleegetCallee(BipolarReasonerCalleeFactory.Command cmd, AbstractBipolarExtensionReasoner reasoner, BipolarArgumentationFramework bbase) Creates and returns a Callee instance based on the provided Command, AbstractBipolarExtensionReasoner, and AbstractBipolarFramework parameters.static BipolarReasonerCalleeFactory.Command[]Retrieves an array of all available Command enums.
-
Method Details
-
getCommands
Retrieves an array of all available Command enums.- Returns:
- An array of Command enums
-
getCallee
public static Callee getCallee(BipolarReasonerCalleeFactory.Command cmd, AbstractBipolarExtensionReasoner reasoner, BipolarArgumentationFramework bbase) Creates and returns a Callee instance based on the provided Command, AbstractBipolarExtensionReasoner, and AbstractBipolarFramework parameters.- Parameters:
cmd- The command to be executedreasoner- The AbstractBipolarExtensionReasoner to be usedbbase- The AbstractBipolarFramework to be processed- Returns:
- A Callee instance corresponding to the specified command
- Throws:
RuntimeException- If the specified command is not found
-