Package com.vmware.fcd.helpers
Class FcdVslmHelper
- java.lang.Object
-
- com.vmware.fcd.helpers.FcdVslmHelper
-
public class FcdVslmHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intVSLM_TASK_SLEEP_INTERVAL
-
Constructor Summary
Constructors Constructor Description FcdVslmHelper(com.vmware.connection.Connection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.vmware.vim25.ManagedObjectReferencegetVslmMor()com.vmware.vslm.VslmPortTypegetVslmPort()com.vmware.vslm.VslmServiceInstanceContentgetVslmServiceInstance()com.vmware.vim25.ManagedObjectReferencegetVStorageObjMgr()booleanwaitForTask(com.vmware.vim25.ManagedObjectReference taskMor)Wait for a vslm task to complete.
-
-
-
Field Detail
-
VSLM_TASK_SLEEP_INTERVAL
public static final int VSLM_TASK_SLEEP_INTERVAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVStorageObjMgr
public com.vmware.vim25.ManagedObjectReference getVStorageObjMgr()
-
getVslmPort
public com.vmware.vslm.VslmPortType getVslmPort()
-
getVslmMor
public static com.vmware.vim25.ManagedObjectReference getVslmMor()
-
getVslmServiceInstance
public com.vmware.vslm.VslmServiceInstanceContent getVslmServiceInstance() throws com.vmware.vslm.RuntimeFaultFaultMsg- Throws:
com.vmware.vslm.RuntimeFaultFaultMsg
-
waitForTask
public boolean waitForTask(com.vmware.vim25.ManagedObjectReference taskMor) throws java.lang.ExceptionWait for a vslm task to complete.- Parameters:
taskMor-- Returns:
- true if task succeeded, false otherwise.
- Throws:
java.lang.Exception
-
-