org.jclouds.vcloud.director.v1_5.features
Interface TaskApi


public interface TaskApi


Method Summary
 void cancel(URI taskURI)
           
 Task get(String taskUrn)
          Retrieves a task.
 Task get(URI taskURI)
           
 TasksList getTasksList(URI tasksListHref)
          Retrieves a list of tasks.
 

Method Detail

getTasksList

TasksList getTasksList(URI tasksListHref)
Retrieves a list of tasks.
 GET /tasksList/{id}
 

Parameters:
tasksListUrn - from Org#getLinks() where Link#getType is VCloudDirectorMediaType#TASKS_LIST
Returns:
a list of tasks

get

Task get(String taskUrn)
Retrieves a task.
 GET /task/{id}
 

Returns:
the task or null if not found

get

Task get(URI taskURI)

cancel

void cancel(URI taskURI)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.