com.vmware.vcloud.sdk
Class TaskList

java.lang.Object
  extended by com.vmware.vcloud.sdk.VcloudResource<T>
      extended by com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.TasksListType>
          extended by com.vmware.vcloud.sdk.TaskList

public class TaskList
extends VcloudEntity<com.vmware.vcloud.api.rest.schema.TasksListType>

Helper class to access the TaskList Resource in vCloud API.


Method Summary
static TaskList getTaskListByReference(VcloudClient client, com.vmware.vcloud.api.rest.schema.ReferenceType taskListReference)
          Returns TaskList using the TaskList link typically obtained from the Organization.
 List<Task> getTasks()
          Returns the list of tasks
 
Methods inherited from class com.vmware.vcloud.sdk.VcloudEntity
getMetadata, getReference
 
Methods inherited from class com.vmware.vcloud.sdk.VcloudResource
getResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTasks

public List<Task> getTasks()
Returns the list of tasks

Overrides:
getTasks in class VcloudEntity<com.vmware.vcloud.api.rest.schema.TasksListType>
Returns:
List

getTaskListByReference

public static TaskList getTaskListByReference(VcloudClient client,
                                              com.vmware.vcloud.api.rest.schema.ReferenceType taskListReference)
                                       throws VCloudException
Returns TaskList using the TaskList link typically obtained from the Organization.

Parameters:
client - vCloud API client VcloudClient
taskListReference - Ref to TaskList ReferenceType
Returns:
TaskList helper TaskList
Throws:
VCloudException
See Also:
Organization.getTasksListRef()


Copyright © 2016. All Rights Reserved.