org.redhat.vmtruckloader.vmware.action
Class AbstractVMWareActionCallback<T>

java.lang.Object
  extended by org.redhat.vmtruckloader.vmware.action.AbstractVMWareActionCallback<T>
Type Parameters:
T - - type returned by the callback method
All Implemented Interfaces:
VMWareActionCallback<T>
Direct Known Subclasses:
CloneMachineCallback, DeleteMachineActionCallback, EditMachineCallback, GetMachineActionCallback, GetMachinesActionCallback, MoveVirtualMachineToNetworkCallback, StartMachineActionCallback, StopMachineActionCallback

public abstract class AbstractVMWareActionCallback<T>
extends Object
implements VMWareActionCallback<T>

Author:
Romain Pelisse -

Constructor Summary
AbstractVMWareActionCallback()
           
 
Method Summary
protected  com.vmware.vim25.mo.Task runTask()
           
protected  void runTask(String errorMssg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.redhat.vmtruckloader.vmware.action.VMWareActionCallback
doInVmware
 

Constructor Detail

AbstractVMWareActionCallback

public AbstractVMWareActionCallback()
Method Detail

runTask

protected void runTask(String errorMssg)

runTask

protected com.vmware.vim25.mo.Task runTask()
                                    throws com.vmware.vim25.InvalidName,
                                           com.vmware.vim25.VmConfigFault,
                                           com.vmware.vim25.DuplicateName,
                                           com.vmware.vim25.FileFault,
                                           com.vmware.vim25.OutOfBounds,
                                           com.vmware.vim25.InsufficientResourcesFault,
                                           com.vmware.vim25.InvalidDatastore,
                                           com.vmware.vim25.RuntimeFault,
                                           RemoteException
Throws:
com.vmware.vim25.InvalidName
com.vmware.vim25.VmConfigFault
com.vmware.vim25.DuplicateName
com.vmware.vim25.FileFault
com.vmware.vim25.OutOfBounds
com.vmware.vim25.InsufficientResourcesFault
com.vmware.vim25.InvalidDatastore
com.vmware.vim25.RuntimeFault
RemoteException


Copyright © 2013. All Rights Reserved.