org.jclouds.virtualbox.functions
Class IMachineToIpAddress
java.lang.Object
org.jclouds.virtualbox.functions.IMachineToIpAddress
- All Implemented Interfaces:
- com.google.common.base.Function<org.virtualbox_4_1.IMachine,String>
public class IMachineToIpAddress
- extends Object
- implements com.google.common.base.Function<org.virtualbox_4_1.IMachine,String>
Get an IP address from an IMachine using arp of the host machine.
- Author:
- Mattias Holmqvist, Andrea Turli
|
Method Summary |
String |
apply(org.virtualbox_4_1.IMachine machine)
|
protected boolean |
isOSX(org.virtualbox_4_1.IMachine machine)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
IMachineToIpAddress
public IMachineToIpAddress(org.virtualbox_4_1.VirtualBoxManager manager,
ComputeService computeService)
apply
public String apply(@Nullable
org.virtualbox_4_1.IMachine machine)
- Specified by:
apply in interface com.google.common.base.Function<org.virtualbox_4_1.IMachine,String>
isOSX
protected boolean isOSX(org.virtualbox_4_1.IMachine machine)
Copyright © 2009-2012 jclouds. All Rights Reserved.