com.vmware.vim25.mo.SearchIndex.class Maven / Gradle / Ivy
The newest version!
???? 1 ? com/vmware/vim25/mo/SearchIndex !com/vmware/vim25/mo/ManagedObject R(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)V Code
LineNumberTable LocalVariableTable this !Lcom/vmware/vim25/mo/SearchIndex; serverConnection &Lcom/vmware/vim25/mo/ServerConnection; mor )Lcom/vmware/vim25/ManagedObjectReference; findByInventoryPath 7(Ljava/lang/String;)Lcom/vmware/vim25/mo/ManagedEntity;
Exceptions com/vmware/vim25/RuntimeFault java/rmi/RemoteException
getVimService ()Lcom/vmware/vim25/VimPortType;
getMOR +()Lcom/vmware/vim25/ManagedObjectReference;
" $ # com/vmware/vim25/VimPortType % f(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;)Lcom/vmware/vim25/ManagedObjectReference;
' ( ) getServerConnection (()Lcom/vmware/vim25/mo/ServerConnection;
+ - , com/vmware/vim25/mo/util/MorUtil . / createExactManagedEntity t(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/mo/ManagedEntity;
inventoryPath Ljava/lang/String; findByIp X(Lcom/vmware/vim25/mo/Datacenter;Ljava/lang/String;Z)Lcom/vmware/vim25/mo/ManagedEntity;
5 6 com/vmware/vim25/mo/Datacenter
" 8 2 9 ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Z)Lcom/vmware/vim25/ManagedObjectReference;
datacenter Lcom/vmware/vim25/mo/Datacenter; ip vmOnly Z
findByDnsName
" A ? 9 dnsName findAllByDnsName Y(Lcom/vmware/vim25/mo/Datacenter;Ljava/lang/String;Z)[Lcom/vmware/vim25/mo/ManagedEntity;
" F C G ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Z)[Lcom/vmware/vim25/ManagedObjectReference;
+ I J K createManagedEntities v(Lcom/vmware/vim25/mo/ServerConnection;[Lcom/vmware/vim25/ManagedObjectReference;)[Lcom/vmware/vim25/mo/ManagedEntity; vmSearch mors *[Lcom/vmware/vim25/ManagedObjectReference; findAllByIp
" Q O G
findAllByUuid Z(Lcom/vmware/vim25/mo/Datacenter;Ljava/lang/String;ZZ)[Lcom/vmware/vim25/mo/ManagedEntity;
U W V java/lang/Boolean X Y valueOf (Z)Ljava/lang/Boolean;
" [ R \ ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;ZLjava/lang/Boolean;)[Lcom/vmware/vim25/ManagedObjectReference; uuid instanceUuid findByDatastorePath X(Lcom/vmware/vim25/mo/Datacenter;Ljava/lang/String;)Lcom/vmware/vim25/mo/VirtualMachine; b !com/vmware/vim25/InvalidDatastore d "java/lang/IllegalArgumentException f datacenter must not be null.
c h i (Ljava/lang/String;)V
" k _ l ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;)Lcom/vmware/vim25/ManagedObjectReference; n "com/vmware/vim25/mo/VirtualMachine dPath
findByUuid
r p s k(Lcom/vmware/vim25/mo/Datacenter;Ljava/lang/String;ZLjava/lang/Boolean;)Lcom/vmware/vim25/mo/ManagedEntity;
" u p v ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;ZLjava/lang/Boolean;)Lcom/vmware/vim25/ManagedObjectReference; Ljava/lang/Boolean; findChild Z(Lcom/vmware/vim25/mo/ManagedEntity;Ljava/lang/String;)Lcom/vmware/vim25/mo/ManagedEntity; { parent entity must not be null.
} ~ !com/vmware/vim25/mo/ManagedEntity
" ? x l parent #Lcom/vmware/vim25/mo/ManagedEntity; name
SourceFile SearchIndex.java ! I *+,? ?
1 2
X *? *? +? !M*? &,? *?
=
>
0 1
2 3 { %*? *? +? ? +? 4,? 7:*? &? *?
L M 4 %
% : ; % <