Package com.vmware.vim25.mo
Class TaskManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.TaskManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCollectorWithInfoFilterForTasks(TaskFilterSpec filter, TaskInfoFilterSpec infoFilter) createTask(ManagedObject obj, String taskTypeId, String initiatedBy, boolean cancelable) createTask(ManagedObject obj, String taskTypeId, String initiatedBy, boolean cancelable, String parentTaskKey) createTask(ManagedObject obj, String taskTypeId, String initiatedBy, boolean cancelable, String parentTaskKey, String activationId) intTask[]Task[]Backward-compat alias forgetRecentTask().TaskInfo[]readNextTasksByViewSpec(TaskManagerTaskViewSpec viewSpec, TaskFilterSpec filterSpec, TaskInfoFilterSpec infoFilterSpec) 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, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Constructor Details
-
TaskManager
-
-
Method Details
-
getDescription
-
getRecentTask
-
createCollectorWithInfoFilterForTasks
public TaskHistoryCollector createCollectorWithInfoFilterForTasks(TaskFilterSpec filter, TaskInfoFilterSpec infoFilter) throws InvalidState, RuntimeFault, RemoteException - Throws:
InvalidStateRuntimeFaultRemoteException
-
readNextTasksByViewSpec
public TaskInfo[] readNextTasksByViewSpec(TaskManagerTaskViewSpec viewSpec, TaskFilterSpec filterSpec, TaskInfoFilterSpec infoFilterSpec) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
getMaxCollector
public int getMaxCollector() -
createCollectorForTasks
public TaskHistoryCollector createCollectorForTasks(TaskFilterSpec filter) throws InvalidState, RuntimeFault, RemoteException - Throws:
InvalidStateRuntimeFaultRemoteException
-
createTask
public TaskInfo createTask(ManagedObject obj, String taskTypeId, String initiatedBy, boolean cancelable) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
createTask
public TaskInfo createTask(ManagedObject obj, String taskTypeId, String initiatedBy, boolean cancelable, String parentTaskKey) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
createTask
public TaskInfo createTask(ManagedObject obj, String taskTypeId, String initiatedBy, boolean cancelable, String parentTaskKey, String activationId) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
getRecentTasks
Backward-compat alias forgetRecentTask().
-