Class DungServicesInfoResponse

java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.dung.DungServicesInfoResponse

public class DungServicesInfoResponse extends Response
The DungServicesInfoResponse class extends the Response class and represents a response containing information about Dung argumentation services.
  • 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 message
      email - The email associated with the response
      backend_timeout - The backend timeout value
      semantics - The list of supported semantics
      commands - The list of supported commands
  • Method Details

    • getReply

      public String getReply()
      Gets the reply message associated with this response.
      Returns:
      The current reply message as a string.
    • setReply

      public void setReply(String reply)
      Sets the reply message for this response.
      Parameters:
      reply - The reply message to set.
    • getEmail

      public String getEmail()
      Gets the email address associated with this response.
      Returns:
      The email address as a string.
    • setEmail

      public void setEmail(String email)
      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

      public List<String> getSemantics()
      Gets the list of semantic elements associated with the service.
      Returns:
      A list of semantics as strings.
    • setSemantics

      public void setSemantics(List<String> semantics)
      Sets the list of semantic elements for the service.
      Parameters:
      semantics - A list of semantic strings to be used or defined by the service.
    • getCommands

      public List<String> getCommands()
      Gets the list of commands associated with the service.
      Returns:
      A list of commands as strings.
    • setCommands

      public void setCommands(List<String> commands)
      Sets the list of commands for the service.
      Parameters:
      commands - A list of command strings to be utilized by the service.
    • reply

      public DungServicesInfoResponse reply(String 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

      public DungServicesInfoResponse email(String 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

      public DungServicesInfoResponse backend_timeout(int 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

      public DungServicesInfoResponse semantics(List<String> 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

      public DungServicesInfoResponse commands(List<String> 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object