org.jclouds.virtualbox.functions
Class CloneAndRegisterMachineFromIMachineIfNotAlreadyExists
java.lang.Object
org.jclouds.virtualbox.functions.CloneAndRegisterMachineFromIMachineIfNotAlreadyExists
- All Implemented Interfaces:
- com.google.common.base.Function<CloneSpec,org.virtualbox_4_1.IMachine>
public class CloneAndRegisterMachineFromIMachineIfNotAlreadyExists
- extends Object
- implements com.google.common.base.Function<CloneSpec,org.virtualbox_4_1.IMachine>
CloneAndRegisterMachineFromIMachineIfNotAlreadyExists will take care of the followings: - cloning
the master - register the clone machine.
- Author:
- Andrea Turli
| 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 |
logger
@Named(value="jclouds.compute")
protected Logger logger
CloneAndRegisterMachineFromIMachineIfNotAlreadyExists
@Inject
public CloneAndRegisterMachineFromIMachineIfNotAlreadyExists(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager,
@Named(value="jclouds.virtualbox.workingdir")
String workingDir,
MachineUtils machineUtils)
apply
public org.virtualbox_4_1.IMachine apply(CloneSpec cloneSpec)
- Specified by:
apply in interface com.google.common.base.Function<CloneSpec,org.virtualbox_4_1.IMachine>
Copyright © 2009-2012 jclouds. All Rights Reserved.