org.redhat.vmtruckloader.vmware.action
Class GetMachinesActionCallback

java.lang.Object
  extended by org.redhat.vmtruckloader.vmware.action.AbstractVMWareActionCallback<Collection<com.vmware.vim25.mo.VirtualMachine>>
      extended by org.redhat.vmtruckloader.vmware.action.GetMachinesActionCallback
All Implemented Interfaces:
VMWareActionCallback<Collection<com.vmware.vim25.mo.VirtualMachine>>

public class GetMachinesActionCallback
extends AbstractVMWareActionCallback<Collection<com.vmware.vim25.mo.VirtualMachine>>

Simple VMWare action class that executes a finds all VMs.

Note that these action classes are not designed to be thread safe.

Author:
Duncan Doyle, Romain Pelisse - romain@redhat.com

Constructor Summary
GetMachinesActionCallback()
           
 
Method Summary
 Collection<com.vmware.vim25.mo.VirtualMachine> doInVmware(com.vmware.vim25.mo.ServiceInstance serviceInstance)
           
 
Methods inherited from class org.redhat.vmtruckloader.vmware.action.AbstractVMWareActionCallback
runTask, runTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetMachinesActionCallback

public GetMachinesActionCallback()
Method Detail

doInVmware

public Collection<com.vmware.vim25.mo.VirtualMachine> doInVmware(com.vmware.vim25.mo.ServiceInstance serviceInstance)


Copyright © 2013. All Rights Reserved.