Class AdfReasonerPost
java.lang.Object
org.tweetyproject.web.services.adf.AdfReasonerPost
Request payload for ADF reasoner web service calls.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCmd()Gets the command type in the ADF reasoner request.Gets the conditions information in the ADF reasoner request.getEmail()Gets the email associated with the ADF reasoner request.intGets the number of arguments in the ADF reasoner request.Gets the semantics specified in the ADF reasoner request.Gets the solver specified in the ADF reasoner request.intGets the timeout value (in seconds) specified in the ADF reasoner request.Gets the unit timeout value specified in the ADF reasoner request.voidSets the command type in the ADF reasoner request.voidsetConditions(List<String> conditions) Sets the conditions information in the ADF reasoner request.voidSets the email associated with the ADF reasoner request.voidsetNr_of_arguments(int nr_of_arguments) Sets the number of arguments in the ADF reasoner request.voidsetSemantics(String semantics) Sets the semantics in the ADF reasoner request.voidSets the solver in the ADF reasoner request.voidsetTimeout(int timeout) Sets the timeout value (in seconds) in the ADF reasoner request.voidsetUnit_timeout(String unit_timeout) Sets the unit timeout value in the ADF reasoner request.
-
Constructor Details
-
AdfReasonerPost
public AdfReasonerPost()Creates an empty request payload.
-
-
Method Details
-
getUnit_timeout
Gets the unit timeout value specified in the ADF reasoner request.- Returns:
- The unit timeout value
-
setUnit_timeout
Sets the unit timeout value in the ADF reasoner request.- Parameters:
unit_timeout- The unit timeout value to be set
-
getCmd
Gets the command type in the ADF reasoner request.- Returns:
- The command type
-
setCmd
Sets the command type in the ADF reasoner request.- Parameters:
cmd- The command type to be set
-
getEmail
Gets the email associated with the ADF reasoner request.- Returns:
- The email associated with the request
-
setEmail
Sets the email associated with the ADF reasoner request.- Parameters:
email- The email to be set
-
getNr_of_arguments
public int getNr_of_arguments()Gets the number of arguments in the ADF reasoner request.- Returns:
- The number of arguments
-
setNr_of_arguments
public void setNr_of_arguments(int nr_of_arguments) Sets the number of arguments in the ADF reasoner request.- Parameters:
nr_of_arguments- The number of arguments to be set
-
getConditions
Gets the conditions information in the ADF reasoner request.- Returns:
- The conditions information
-
setConditions
Sets the conditions information in the ADF reasoner request.- Parameters:
conditions- The conditions information to be set
-
getSemantics
Gets the semantics specified in the ADF reasoner request.- Returns:
- The semantics specified
-
setSemantics
Sets the semantics in the ADF reasoner request.- Parameters:
semantics- The semantics to be set
-
getSolver
Gets the solver specified in the ADF reasoner request.- Returns:
- The solver specified
-
setSolver
Sets the solver in the ADF reasoner request.- Parameters:
solver- The solver to be set
-
getTimeout
public int getTimeout()Gets the timeout value (in seconds) specified in the ADF reasoner request.- Returns:
- The timeout value
-
setTimeout
public void setTimeout(int timeout) Sets the timeout value (in seconds) in the ADF reasoner request.- Parameters:
timeout- The timeout value to be set
-