Class TasksApi


  • public class TasksApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Task getTask​(java.lang.String taskId)
      Retrieves a task by its id.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTask

        public Task getTask​(java.lang.String taskId)
                     throws java.lang.IllegalArgumentException,
                            java.io.IOException
        Retrieves a task by its id.
        Parameters:
        taskId - task id
        Returns:
        a Task object
        Throws:
        java.lang.IllegalArgumentException - when the web client receives a bad parameter
        java.io.IOException - When the AuthenticatedWebClient receives and error response code