public class EC2TemplateBuilderImpl extends TemplateBuilderImpl
biggest, defaultLocation, defaultTemplateProvider, fastest, hardwareId, hardwares, hypervisor, imageDescription, imageId, imageName, imagePredicate, images, imageVersion, location, locations, logger, minCores, minRam, options, optionsProvider, os64Bit, osArch, osDescription, osFamily, osName, osVersion
Modifier | Constructor and Description |
---|---|
protected |
EC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
Provider<TemplateOptions> optionsProvider,
Provider<TemplateBuilder> defaultTemplateProvider,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
Modifier and Type | Method and Description |
---|---|
protected Set<? extends Image> |
getImages() |
protected Image |
resolveImage(Hardware size,
Iterable<? extends Image> supportedImages) |
any, biggest, build, fastest, fromHardware, fromImage, fromTemplate, hardwareId, hardwareSorter, hypervisorMatches, imageDescriptionMatches, imageId, imageMatches, imageNameMatches, imageVersionMatches, locationId, minCores, minRam, options, os64Bit, osArchMatches, osDescriptionMatches, osFamily, osNameMatches, osVersionMatches, resolveHardware, smallest, throwNoSuchElementExceptionAfterLoggingHardwareIds, throwNoSuchElementExceptionAfterLoggingImageIds, toString
@Inject protected EC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations, com.google.common.base.Supplier<Set<? extends Image>> images, com.google.common.base.Supplier<Set<? extends Hardware>> sizes, com.google.common.base.Supplier<Location> defaultLocation, @Named(value="DEFAULT") Provider<TemplateOptions> optionsProvider, @Named(value="DEFAULT") Provider<TemplateBuilder> defaultTemplateProvider, com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap)
protected Image resolveImage(Hardware size, Iterable<? extends Image> supportedImages)
resolveImage
in class TemplateBuilderImpl
NoSuchElementException
- if the image is not foundprotected Set<? extends Image> getImages()
getImages
in class TemplateBuilderImpl
Copyright © 2009-2012 jclouds. All Rights Reserved.