com.vmware.vim25.mo.Task.class Maven / Gradle / Ivy
The newest version!
???? 1 ? com/vmware/vim25/mo/Task +com/vmware/vim25/mo/ExtensibleManagedObject
PROPNAME_INFO Ljava/lang/String;
ConstantValue info SUCCESS success R(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)V Code
LineNumberTable LocalVariableTable this Lcom/vmware/vim25/mo/Task; serverConnection &Lcom/vmware/vim25/mo/ServerConnection; mor )Lcom/vmware/vim25/ManagedObjectReference; getTaskInfo ()Lcom/vmware/vim25/TaskInfo;
Exceptions com/vmware/vim25/InvalidProperty com/vmware/vim25/RuntimeFault " java/rmi/RemoteException
$ % & getCurrentProperty &(Ljava/lang/String;)Ljava/lang/Object; ( com/vmware/vim25/TaskInfo getAssociatedManagedEntity %()Lcom/vmware/vim25/mo/ManagedEntity; , info.entity
. / 0 getManagedObject 7(Ljava/lang/String;)Lcom/vmware/vim25/mo/ManagedObject; 2 !com/vmware/vim25/mo/ManagedEntity getLockedManagedEntities &()[Lcom/vmware/vim25/mo/ManagedEntity; 6 info.locked
8 9 : getManagedObjects 8(Ljava/lang/String;)[Lcom/vmware/vim25/mo/ManagedObject; < $[Lcom/vmware/vim25/mo/ManagedEntity;
cancelTask ()V
@ A B
getVimService ()Lcom/vmware/vim25/VimPortType;
D E F getMOR +()Lcom/vmware/vim25/ManagedObjectReference;
H J I com/vmware/vim25/VimPortType = K ,(Lcom/vmware/vim25/ManagedObjectReference;)V setTaskState \(Lcom/vmware/vim25/TaskInfoState;Ljava/lang/Object;Lcom/vmware/vim25/LocalizedMethodFault;)V O com/vmware/vim25/InvalidState
H Q L R ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/TaskInfoState;Ljava/lang/Object;Lcom/vmware/vim25/LocalizedMethodFault;)V tis Lcom/vmware/vim25/TaskInfoState; result Ljava/lang/Object; fault 'Lcom/vmware/vim25/LocalizedMethodFault; updateProgress (I)V \ com/vmware/vim25/OutOfBounds
H ^ Y _ -(Lcom/vmware/vim25/ManagedObjectReference;I)V percentDone I setTaskDescription ((Lcom/vmware/vim25/LocalizableMessage;)V
H e b f Q(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/LocalizableMessage;)V description %Lcom/vmware/vim25/LocalizableMessage; waitForMe ()Ljava/lang/String;
Deprecated m java/lang/String o
info.state q
info.error s state u [Ljava/lang/Object; w java/lang/Object y { z com/vmware/vim25/TaskInfoState T y } ~ T error
? ? ?
waitForValues O([Ljava/lang/String;[Ljava/lang/String;[[Ljava/lang/Object;)[Ljava/lang/Object;
v ? ? ? equals (Ljava/lang/Object;)Z
' ? ? ? getError )()Lcom/vmware/vim25/LocalizedMethodFault; ?
Error Occured
? ? ? %com/vmware/vim25/LocalizedMethodFault ? ? getFault ()Lcom/vmware/vim25/MethodFault; tinfo Lcom/vmware/vim25/TaskInfo; mf Lcom/vmware/vim25/MethodFault; waitForTask ? java/lang/InterruptedException
? ? ? (II)Ljava/lang/String; ? java/lang/NullPointerException
? ?
> ? java/lang/RuntimeException
? ?
? (Ljava/lang/Throwable;)V
?
' ? ? ? getState "()Lcom/vmware/vim25/TaskInfoState; y ? ? T running
y ?
? ? ? java/lang/Thread ? ? sleep (J)V y ? ? T queued
y ? ? j toString ? java/lang/Exception runningDelayInMillSecond queuedDelayInMillSecond tState tries maxTries getInfoException Ljava/lang/Exception; e
SourceFile Task.java !
I *+,? ?
9 : ! 4
*? #? '? >
) * 4
*+? -? 1? C
3 4 4
*5? 7? ;? H
= > ! : *? ?*? C? G?
M N L M N ! [ *? ?*? C+,-? P?
R S * S T U V W X Y Z
N [ ! E
*? ?*? C? ]?
W X
` a b c ! E
*? ?*? C+? d?
] ^
g h i j ! k ?
e*? lYnSYpS? lYrS? tY? vY? xSY? |SS? L+2? x? ?? ?*? #? 'M,? ?N?:-? -? ?:?? : n o p q / n 3 s ? u B y L z Q { U | Y ~ _ b ? > e 3 2 U u L ? ? Q W X U ~ _ ? ? ? j ! ? 5 *?? ?? ? ? ? ! ? ?N66:? wN:6? Q?? 6? ? ?Y? ??? ? ? ?? !? ? !?? ?Y? ??*? ?? ?N? ::-???-? ?? ?? ?? ?? ?? ?-???-? ?? ????-? ?? ???w-? ?? V ^ a ? n ? ? ? ? ? ? ? ? ? ? ? # ? ( ? 0 ? 8 ? > ? F ? L ? V ? a ? c ? g ? k ? u ? } ? ? ? ? ? R ? ? ? a ? ? a ? ? T ? ? a ? ? a ? ? ? c ? ? ? ?