com.vmware.vcloud.sdk
Class TaskList
java.lang.Object
com.vmware.vcloud.sdk.VcloudResource<T>
com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.TasksListType>
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.
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 VcloudClienttaskListReference - Ref to TaskList ReferenceType
- Returns:
- TaskList helper
TaskList
- Throws:
VCloudException- See Also:
Organization.getTasksListRef()
Copyright © 2016. All Rights Reserved.