org.jclouds.vcloud.features
Interface TaskApi


public interface TaskApi

Provides access to Task functionality in vCloud


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(@Nullable
                                  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-2014 The Apache Software Foundation. All Rights Reserved.