org.jclouds.virtualbox.functions
Class TakeSnapshotIfNotAlreadyAttached
java.lang.Object
org.jclouds.virtualbox.functions.TakeSnapshotIfNotAlreadyAttached
- All Implemented Interfaces:
- com.google.common.base.Function<org.virtualbox_4_1.IMachine,org.virtualbox_4_1.ISnapshot>
public class TakeSnapshotIfNotAlreadyAttached
- extends Object
- implements com.google.common.base.Function<org.virtualbox_4_1.IMachine,org.virtualbox_4_1.ISnapshot>
- Author:
- Andrea Turli
|
Method Summary |
org.virtualbox_4_1.ISnapshot |
apply(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 |
TakeSnapshotIfNotAlreadyAttached
public TakeSnapshotIfNotAlreadyAttached(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager,
String snapshotName,
String snapshotDesc,
Logger logger)
apply
public org.virtualbox_4_1.ISnapshot apply(@Nullable
org.virtualbox_4_1.IMachine machine)
- Specified by:
apply in interface com.google.common.base.Function<org.virtualbox_4_1.IMachine,org.virtualbox_4_1.ISnapshot>
Copyright © 2009-2012 jclouds. All Rights Reserved.