org.jclouds.vcloud.features
Interface TaskClient


public interface TaskClient

Provides access to Task functionality in vCloud

Author:
Adrian Cole

Method Summary
 void cancelTask(URI taskId)
           
 TasksList findTasksListInOrgNamed(String orgName)
           
 Task getTask(URI taskId)
          Whenever the result of a request cannot be returned immediately, the server creates a Task object and includes it in the response, as a member of the Tasks container in the response body.
 TasksList getTasksList(URI tasksListId)
           
 

Method Detail

getTasksList

TasksList getTasksList(URI tasksListId)

findTasksListInOrgNamed

TasksList findTasksListInOrgNamed(String orgName)

getTask

Task getTask(URI taskId)
Whenever the result of a request cannot be returned immediately, the server creates a Task object and includes it in the response, as a member of the Tasks container in the response body. Each Task has an href value, which is a URL that the client can use to retrieve the Task element alone, without the rest of the response in which it was contained. All information about the task is included in the Task element when it is returned in the response’s Tasks container, so a client does not need to make an additional request to the Task URL unless it wants to follow the progress of a task that was incomplete.


cancelTask

void cancelTask(URI taskId)


Copyright © 2009-2012 jclouds. All Rights Reserved.