com.vmware.vim25.mo.Folder.class Maven / Gradle / Ivy
The newest version!
???? 1 ? com/vmware/vim25/mo/Folder !com/vmware/vim25/mo/ManagedEntity R(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)V Code
LineNumberTable LocalVariableTable this Lcom/vmware/vim25/mo/Folder; sc &Lcom/vmware/vim25/mo/ServerConnection; mor )Lcom/vmware/vim25/ManagedObjectReference; getChildEntity &()[Lcom/vmware/vim25/mo/ManagedEntity;
Exceptions com/vmware/vim25/InvalidProperty com/vmware/vim25/RuntimeFault java/rmi/RemoteException childEntity
getCurrentProperty &(Ljava/lang/String;)Ljava/lang/Object; " *[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; mors mes $[Lcom/vmware/vim25/mo/ManagedEntity; i I getChildType ()[Ljava/lang/String; 5 childType 7 [Ljava/lang/String; addStandaloneHost_Task k(Lcom/vmware/vim25/HostConnectSpec;Lcom/vmware/vim25/ComputeResourceConfigSpec;Z)Lcom/vmware/vim25/mo/Task; ; com/vmware/vim25/InvalidLogin = !com/vmware/vim25/HostConnectFault
? 8 @ }(Lcom/vmware/vim25/HostConnectSpec;Lcom/vmware/vim25/ComputeResourceConfigSpec;ZLjava/lang/String;)Lcom/vmware/vim25/mo/Task; spec "Lcom/vmware/vim25/HostConnectSpec; compResSpec ,Lcom/vmware/vim25/ComputeResourceConfigSpec; addConnected Z H com/vmware/vim25/mo/Task
J K L
getVimService ()Lcom/vmware/vim25/VimPortType;
N O P getMOR +()Lcom/vmware/vim25/ManagedObjectReference;
R T S com/vmware/vim25/VimPortType 8 U ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/HostConnectSpec;Lcom/vmware/vim25/ComputeResourceConfigSpec;ZLjava/lang/String;)Lcom/vmware/vim25/ManagedObjectReference;
G license Ljava/lang/String;
createCluster d(Ljava/lang/String;Lcom/vmware/vim25/ClusterConfigSpec;)Lcom/vmware/vim25/mo/ClusterComputeResource; \ com/vmware/vim25/InvalidName ^ com/vmware/vim25/DuplicateName ` *com/vmware/vim25/mo/ClusterComputeResource
R b Y c ?(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Lcom/vmware/vim25/ClusterConfigSpec;)Lcom/vmware/vim25/ManagedObjectReference;
_ name $Lcom/vmware/vim25/ClusterConfigSpec; createClusterEx f(Ljava/lang/String;Lcom/vmware/vim25/ClusterConfigSpecEx;)Lcom/vmware/vim25/mo/ClusterComputeResource;
R j g k ?(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Lcom/vmware/vim25/ClusterConfigSpecEx;)Lcom/vmware/vim25/ManagedObjectReference; &Lcom/vmware/vim25/ClusterConfigSpecEx; createDatacenter 4(Ljava/lang/String;)Lcom/vmware/vim25/mo/Datacenter; p com/vmware/vim25/mo/Datacenter
R r m s f(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;)Lcom/vmware/vim25/ManagedObjectReference;
o createDVS_Task <(Lcom/vmware/vim25/DVSCreateSpec;)Lcom/vmware/vim25/mo/Task; x !com/vmware/vim25/DvsNotAuthorized z com/vmware/vim25/DvsFault | com/vmware/vim25/NotFound
R ~ u t(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/DVSCreateSpec;)Lcom/vmware/vim25/ManagedObjectReference; Lcom/vmware/vim25/DVSCreateSpec; taskMor createFolder 0(Ljava/lang/String;)Lcom/vmware/vim25/mo/Folder;
R ? ? s
createVM_Task ?(Lcom/vmware/vim25/VirtualMachineConfigSpec;Lcom/vmware/vim25/mo/ResourcePool;Lcom/vmware/vim25/mo/HostSystem;)Lcom/vmware/vim25/mo/Task; ? com/vmware/vim25/VmConfigFault ? com/vmware/vim25/FileFault ? com/vmware/vim25/OutOfBounds ? +com/vmware/vim25/InsufficientResourcesFault ? !com/vmware/vim25/InvalidDatastore
? N ? com/vmware/vim25/mo/ResourcePool
? N ? com/vmware/vim25/mo/HostSystem
R ? ? ? ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/VirtualMachineConfigSpec;Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ManagedObjectReference; config +Lcom/vmware/vim25/VirtualMachineConfigSpec; pool "Lcom/vmware/vim25/mo/ResourcePool; host Lcom/vmware/vim25/mo/HostSystem; moveIntoFolder_Task @([Lcom/vmware/vim25/mo/ManagedEntity;)Lcom/vmware/vim25/mo/Task; ? com/vmware/vim25/InvalidState ? com/vmware/vim25/InvalidFolder ? "java/lang/IllegalArgumentException ? entities must not be null
? ? ? (Ljava/lang/String;)V
( ? ? ?
createMORs P([Lcom/vmware/vim25/mo/ManagedObject;)[Lcom/vmware/vim25/ManagedObjectReference;
R ? ? ? ~(Lcom/vmware/vim25/ManagedObjectReference;[Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ManagedObjectReference; entities registerVM_Task ?(Ljava/lang/String;Ljava/lang/String;ZLcom/vmware/vim25/mo/ResourcePool;Lcom/vmware/vim25/mo/HostSystem;)Lcom/vmware/vim25/mo/Task; ? com/vmware/vim25/AlreadyExists
R ? ? ? ?(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Ljava/lang/String;ZLcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ManagedObjectReference; path
asTemplate unregisterAndDestroy_Task ()Lcom/vmware/vim25/mo/Task; ? !com/vmware/vim25/ConcurrentAccess
R ? ? ? T(Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ManagedObjectReference;
SourceFile Folder.java ! I *+,? ?
. /
? 6*? ? !L+? ? ?+?? M>? ,*? #+2? 'S?+????,?
" 4
6 8 ; <