All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.mo.samples.vm.VMSnapshot.class Maven / Gradle / Ivy

The newest version!
????2?)com/vmware/vim25/mo/samples/vm/VMSnapshotjava/lang/Object()VCode
	LineNumberTableLocalVariableTablethis+Lcom/vmware/vim25/mo/samples/vm/VMSnapshot;main([Ljava/lang/String;)V
Exceptionsjava/lang/Exception	java/lang/SystemoutLjava/io/PrintStream;@Usage: java VMSnapshot     
java/io/PrintStream println(Ljava/lang/String;)V",op - list, create, remove, removeall, revert
$%&exit(I)V(test*!A description for sample snapshot,#com/vmware/vim25/mo/ServiceInstance.java/net/URL
-0 
+236(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V
+567
getRootFolder()Lcom/vmware/vim25/mo/Folder;9&com/vmware/vim25/mo/InventoryNavigator
8;<&(Lcom/vmware/vim25/mo/ManagedEntity;)V>VirtualMachine
8@ABsearchManagedEntityI(Ljava/lang/String;Ljava/lang/String;)Lcom/vmware/vim25/mo/ManagedEntity;D"com/vmware/vim25/mo/VirtualMachineFjava/lang/StringBuilderHNo VM 
E0
EKLMappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;O found
EQRStoString()Ljava/lang/String;
+UVWgetServerConnection(()Lcom/vmware/vim25/mo/ServerConnection;
Y[Z$com/vmware/vim25/mo/ServerConnection\logout^create
`bajava/lang/StringcdequalsIgnoreCase(Ljava/lang/String;)Z
CfghcreateSnapshot_TaskB(Ljava/lang/String;Ljava/lang/String;ZZ)Lcom/vmware/vim25/mo/Task;
jlkcom/vmware/vim25/mo/TaskmS	waitForMeosuccessqSnapshot was created.slist
uvw
listSnapshots'(Lcom/vmware/vim25/mo/VirtualMachine;)Vyrevert
{|}getSnapshotInTreed(Lcom/vmware/vim25/mo/VirtualMachine;Ljava/lang/String;)Lcom/vmware/vim25/mo/VirtualMachineSnapshot;
??*com/vmware/vim25/mo/VirtualMachineSnapshot??revertToSnapshot_Task<(Lcom/vmware/vim25/mo/HostSystem;)Lcom/vmware/vim25/mo/Task;?Reverted to snapshot:?	removeall
C???removeAllSnapshots_Task()Lcom/vmware/vim25/mo/Task;?Removed all snapshots?remove
???removeSnapshot_Task(Z)Lcom/vmware/vim25/mo/Task;?Removed snapshot:?Invalid operationargs[Ljava/lang/String;vmnameLjava/lang/String;opsnapshotnamedescremovechildZsi%Lcom/vmware/vim25/mo/ServiceInstance;
rootFolderLcom/vmware/vim25/mo/Folder;vm$Lcom/vmware/vim25/mo/VirtualMachine;taskLcom/vmware/vim25/mo/Task;vmsnap,Lcom/vmware/vim25/mo/VirtualMachineSnapshot;
StackMapTable??com/vmware/vim25/mo/Folder
C???getSnapshot/()Lcom/vmware/vim25/VirtualMachineSnapshotInfo;
???+com/vmware/vim25/VirtualMachineSnapshotInfo??getRootSnapshotList0()[Lcom/vmware/vim25/VirtualMachineSnapshotTree;
???findSnapshotInTreek([Lcom/vmware/vim25/VirtualMachineSnapshotTree;Ljava/lang/String;)Lcom/vmware/vim25/ManagedObjectReference;
CU
??R(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)VsnapNamesnapTree.[Lcom/vmware/vim25/VirtualMachineSnapshotTree;mor)Lcom/vmware/vim25/ManagedObjectReference;?
???+com/vmware/vim25/VirtualMachineSnapshotTree?SgetName
`???equals(Ljava/lang/Object;)Z
????+()Lcom/vmware/vim25/ManagedObjectReference;
????getChildSnapshotListiInode-Lcom/vmware/vim25/VirtualMachineSnapshotTree;	childTree
???printSnapshots1([Lcom/vmware/vim25/VirtualMachineSnapshotTree;)VsnapInfo-Lcom/vmware/vim25/VirtualMachineSnapshotInfo;?Snapshot Name : 
SourceFileVMSnapshot.java!/*??
1
	X*?????!??#*2L*2M'N):6?+Y?-Y*2?/*2*2?1:?4:?8Y?:=+???C:?'??EYG?I+?JN?J?P??T?X?],?_?$-?e:		?in?вp???r,?_??t??,x?_?;-?z:		??	?~:

?in????EY??I-?J?P??s,??_???:		?in?Y????N,??_?<-?z:		?8	??:

?in?%??EY??I-?J?P???????T?X?
?6579;>?"A%B)C,E0FAEFHMIQJSIVJ\IaLfN?O?P?S?U?V?U?W?Y?\?^?`?c?b?d?f?g?i?jinpq s+v4y7x<zA|J}Tm?u?v?~????a??"]??%Z??)V??,S??F9??M2??a?????	?0??	? ??
??	<1??	J ??
?I?o	?````+?C?&j??=??!j??>?|}?/*?+??*????M,?,+??N-??Y*??-????
2??
?????? ?$?)?-?*/??/???????
?"?????=?5*2N+-?Ƕ̙-?а-??:?+??:???*?????
6
??	?????$?'?,?1?4?=?>??????;??	+????,???????vws*??*??L+??M,?۱
???
???? ??

????????=




© 2015 - 2024 Weber Informatics LLC | Privacy Policy