Class DungServicesInfoResponse
java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.dung.DungServicesInfoResponse
The DungServicesInfoResponse class extends the Response class and represents
a response containing information about Dung argumentation services.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbackend_timeout
(int backend_timeout) Sets the backend timeout and returns this instance for method chaining.Sets the commands and returns this instance for method chaining.Sets the email address and returns this instance for method chaining.boolean
int
Gets the backend timeout setting for the service.Gets the list of commands associated with the service.getEmail()
Gets the email address associated with this response.getReply()
Gets the reply message associated with this response.Gets the list of semantic elements associated with the service.int
hashCode()
Sets the reply message and returns this instance for method chaining.Sets the semantics and returns this instance for method chaining.void
setBackend_timeout
(int backend_timeout) Sets the backend timeout for the service.void
setCommands
(List<String> commands) Sets the list of commands for the service.void
Sets the email address for this response.void
Sets the reply message for this response.void
setSemantics
(List<String> semantics) Sets the list of semantic elements for the service.toString()
-
Constructor Details
-
DungServicesInfoResponse
public DungServicesInfoResponse()Default constructor for DungServicesInfoResponse. -
DungServicesInfoResponse
public DungServicesInfoResponse(String reply, String email, int backend_timeout, List<String> semantics, List<String> commands) Parameterized constructor for DungServicesInfoResponse.- Parameters:
reply
- The reply messageemail
- The email associated with the responsebackend_timeout
- The backend timeout valuesemantics
- The list of supported semanticscommands
- The list of supported commands
-
-
Method Details
-
getReply
Gets the reply message associated with this response.- Returns:
- The current reply message as a string.
-
setReply
Sets the reply message for this response.- Parameters:
reply
- The reply message to set.
-
getEmail
Gets the email address associated with this response.- Returns:
- The email address as a string.
-
setEmail
Sets the email address for this response.- Parameters:
email
- The email address to set.
-
getBackend_timeout
public int getBackend_timeout()Gets the backend timeout setting for the service.- Returns:
- The backend timeout in integer form.
-
setBackend_timeout
public void setBackend_timeout(int backend_timeout) Sets the backend timeout for the service.- Parameters:
backend_timeout
- The backend timeout value in seconds.
-
getSemantics
-
setSemantics
-
getCommands
-
setCommands
-
reply
Sets the reply message and returns this instance for method chaining.- Parameters:
reply
- The reply message to set.- Returns:
- This instance to facilitate further modifications.
-
email
Sets the email address and returns this instance for method chaining.- Parameters:
email
- The email address to set.- Returns:
- This instance to facilitate further modifications.
-
backend_timeout
Sets the backend timeout and returns this instance for method chaining.- Parameters:
backend_timeout
- The backend timeout in seconds to set.- Returns:
- This instance to facilitate further modifications.
-
semantics
Sets the semantics and returns this instance for method chaining.- Parameters:
semantics
- A list of semantic strings to set.- Returns:
- This instance to facilitate further modifications.
-
commands
Sets the commands and returns this instance for method chaining.- Parameters:
commands
- A list of command strings to set.- Returns:
- This instance to facilitate further modifications.
-
equals
-
hashCode
-
toString
-