![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.mo.samples.task.PrintTaskManager.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vijava Show documentation
Show all versions of vijava Show documentation
Java API for accessing VMWare web services API
The newest version!
???? 2 ? 1com/vmware/vim25/mo/samples/task/PrintTaskManager java/lang/Object ()V Code
LineNumberTable LocalVariableTable this 3Lcom/vmware/vim25/mo/samples/task/PrintTaskManager; main ([Ljava/lang/String;)V
Exceptions java/lang/Exception java/lang/System out Ljava/io/PrintStream; 8Usage: java PrintTaskManager
java/io/PrintStream println (Ljava/lang/String;)V " #com/vmware/vim25/mo/ServiceInstance $ java/net/URL
# &
! ( ) 6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V
! + , - getTaskManager #()Lcom/vmware/vim25/mo/TaskManager;
/ 1 0 com/vmware/vim25/mo/TaskManager 2 3 getMaxCollector ()I 5 java/lang/StringBuilder 7 :Maximum number of collectors to retrive historical tasks:
4 &
4 : ; < append (I)Ljava/lang/StringBuilder;
4 > ? @ toString ()Ljava/lang/String; B
Task description:
/ D E F getDescriptioin $()Lcom/vmware/vim25/TaskDescription;
H I J printTaskDescription %(Lcom/vmware/vim25/TaskDescription;)V L
Recent tasks:
/ N O P getRecentTasks ()[Lcom/vmware/vim25/mo/Task;
R T S com/vmware/vim25/mo/Task U V getTaskInfo ()Lcom/vmware/vim25/TaskInfo; X
Name:
Z \ [ com/vmware/vim25/TaskInfo ] @ getName
4 _ ; ` -(Ljava/lang/String;)Ljava/lang/StringBuilder; b Key:
Z d e @ getKey g State:
Z i j k getState "()Lcom/vmware/vim25/TaskInfoState;
4 m ; n -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
! p q r getServerConnection (()Lcom/vmware/vim25/mo/ServerConnection;
t v u $com/vmware/vim25/mo/ServerConnection w logout args [Ljava/lang/String; si %Lcom/vmware/vim25/mo/ServiceInstance; taskMgr !Lcom/vmware/vim25/mo/TaskManager; maxCollector I td "Lcom/vmware/vim25/TaskDescription; recentTasks [Lcom/vmware/vim25/mo/Task; i ti Lcom/vmware/vim25/TaskInfo;
StackMapTable y ? com/vmware/vim25/TaskDescription ?
? ? ? ?
getMethodInfo (()[Lcom/vmware/vim25/ElementDescription; ?
***Method descriptions:
? ? ? printElementDescriptions )([Lcom/vmware/vim25/ElementDescription;)V ?
***Reason descriptions:
? ? ? ? getReason %()[Lcom/vmware/vim25/TypeDescription; ?
Key:
? d ? com/vmware/vim25/TypeDescription ? Label:
? ? ? @ getLabel ? Summary:
? ? ? @
getSummary ? !
***Task state enum descriptions:
? ? j ? methodInfos &[Lcom/vmware/vim25/ElementDescription; reasons #[Lcom/vmware/vim25/TypeDescription; states ? ?
? ? ? printElementDescription ((Lcom/vmware/vim25/ElementDescription;)V eds
? d ? #com/vmware/vim25/ElementDescription
? ?
? ? ed %Lcom/vmware/vim25/ElementDescription;
SourceFile PrintTaskManager.java ! / *? ?
/
? ?*?? ? ? ?? !Y? #Y*2? %*2*2? 'L+? *M,? .>? ? 4Y6? 8? 9? =? ? A? ,? C:? G? K? ,? M:6? ^2? Q:? ? 4YW? 8? Y? ^? =? ? ? 4Ya? 8? c? ^? =? ? ? 4Yf? 8? h? l? =? ?? ????+? o? s?
b 3 5 7 : ; $ : ( = - ? 2 @ > A E @ H C P D V E [ G c H i I o K y L ? M ? N ? I ? P ? Q R ? x y ( ? z { - ? | } 2 ? ~ V ? ? ? i v ? ? l k ? y N ? ? ? ! ? _ ? ! / ? ? ? Z? I J @ ?*? ?L? ? 4Y?? 8+?? 9? =? +? ?? ?? *? ?M>? W? ? 4Y?? 8,2? ?? ^? =? ? ? 4Y?? 8,2? ?? ^? =? ? ? 4Y?? 8,2? ?? ^? =? ?,? ,????? ?? *? ?N-? ??
: U V W Y ( Z - [ 2 ] M ^ h _ ? [ ? b ? c ? d ? e 4 ? ? ? ? ? ? - u ? ? / a ? ? ? ? ? ? 2 ? ?? S? ? ? i