org.jclouds.virtualbox.functions
Class CreateMediumIfNotAlreadyExists
java.lang.Object
org.jclouds.virtualbox.functions.CreateMediumIfNotAlreadyExists
- All Implemented Interfaces:
- com.google.common.base.Function<HardDisk,org.virtualbox_4_1.IMedium>
@Singleton
public class CreateMediumIfNotAlreadyExists
- extends Object
- implements com.google.common.base.Function<HardDisk,org.virtualbox_4_1.IMedium>
- Author:
- Mattias Holmqvist
|
Method Summary |
org.virtualbox_4_1.IMedium |
apply(HardDisk hardDisk)
|
| 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 |
ATTACHED_PATTERN
public static final Pattern ATTACHED_PATTERN
CreateMediumIfNotAlreadyExists
@Inject
public CreateMediumIfNotAlreadyExists(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager,
MachineUtils machineUtils,
boolean overwriteIfExists)
apply
public org.virtualbox_4_1.IMedium apply(@Nullable
HardDisk hardDisk)
- Specified by:
apply in interface com.google.common.base.Function<HardDisk,org.virtualbox_4_1.IMedium>
Copyright © 2009-2012 jclouds. All Rights Reserved.