public class EC2TemplateBuilderImpl extends TemplateBuilderImpl
biggest, defaultLocation, defaultTemplateProvider, fastest, hardwareId, hardwares, hypervisor, imageDescription, imageId, imageName, imagePredicate, images, imageVersion, location, locations, logger, minCores, minDisk, 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,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.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, from, from, fromHardware, fromImage, fromTemplate, hardwareId, hardwareSorter, hypervisorMatches, imageDescriptionMatches, imageId, imageMatches, imageNameMatches, imageVersionMatches, locationId, minCores, minDisk, minRam, options, os64Bit, osArchMatches, osDescriptionMatches, osFamily, osNameMatches, osVersionMatches, resolveHardware, smallest, string, 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") javax.inject.Provider<TemplateOptions> optionsProvider, @Named(value="DEFAULT") javax.inject.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-2013 jclouds. All Rights Reserved.