Package com.octopusdeploy.api
Class TasksApi
- java.lang.Object
-
- com.octopusdeploy.api.TasksApi
-
public class TasksApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TasksApi(AuthenticatedWebClient webClient)
-
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.
-
-
-
Constructor Detail
-
TasksApi
public TasksApi(AuthenticatedWebClient webClient)
-
-
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 parameterjava.io.IOException
- When the AuthenticatedWebClient receives and error response code
-
-