com.vmware.vim25.mo
Class TaskManager

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.TaskManager

public class TaskManager
extends ManagedObject

The managed object class corresponding to the one defined in VI SDK API reference.

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
TaskManager(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 TaskHistoryCollector createCollectorForTasks(TaskFilterSpec filter)
           
 TaskInfo createTask(ManagedObject obj, String taskTypeId, String initiatedBy, boolean cancelable)
           
 TaskInfo createTask(ManagedObject obj, String taskTypeId, String initiatedBy, boolean cancelable, String parentTaskKey)
           
 TaskDescription getDescriptioin()
          Deprecated. the misspelled word. Use getDescription() instead
 TaskDescription getDescription()
           
 int getMaxCollector()
           
 Task[] getRecentTasks()
           
 
Methods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskManager

public TaskManager(ServerConnection serverConnection,
                   ManagedObjectReference mor)
Method Detail

getDescriptioin

public TaskDescription getDescriptioin()
Deprecated. the misspelled word. Use getDescription() instead


getDescription

public TaskDescription getDescription()

getMaxCollector

public int getMaxCollector()

getRecentTasks

public Task[] getRecentTasks()

createCollectorForTasks

public TaskHistoryCollector createCollectorForTasks(TaskFilterSpec filter)
                                             throws InvalidState,
                                                    RuntimeFault,
                                                    RemoteException
Throws:
InvalidState
RuntimeFault
RemoteException

createTask

public TaskInfo createTask(ManagedObject obj,
                           String taskTypeId,
                           String initiatedBy,
                           boolean cancelable)
                    throws RuntimeFault,
                           RemoteException
Throws:
RuntimeFault
RemoteException

createTask

public TaskInfo createTask(ManagedObject obj,
                           String taskTypeId,
                           String initiatedBy,
                           boolean cancelable,
                           String parentTaskKey)
                    throws RuntimeFault,
                           RemoteException
Throws:
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.