Package com.vmware.general
Class TaskList
- java.lang.Object
-
- com.vmware.connection.ConnectedVimServiceBase
-
- com.vmware.general.TaskList
-
@Sample(name="task-list", description="This sample prints out a list of tasks if any are running") public class TaskList extends ConnectedVimServiceBaseTaskList This sample prints out a list of tasks if any are running The sample display the tasks in the following format: Operation: Name: Type: State: Error: Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication Command Line: run.bat com.vmware.general.TaskList --url [webserviceurl] --username [username] --password [password]
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vmware.connection.ConnectedVimServiceBase
ConnectedVimServiceBase.ConnectionException
-
-
Field Summary
-
Fields inherited from class com.vmware.connection.ConnectedVimServiceBase
PROP_ME_NAME, SVC_INST_NAME
-
-
Constructor Summary
Constructors Constructor Description TaskList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.vmware.vim25.ObjectContent>list()-
Methods inherited from class com.vmware.connection.ConnectedVimServiceBase
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection
-
-