public class ArbitraryCpuRamTemplateBuilderImpl extends TemplateBuilderImpl
biggest, defaultLocation, defaultTemplateProvider, fastest, forceCacheReload, hardwareId, hardwares, hypervisor, imageChooser, 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 |
ArbitraryCpuRamTemplateBuilderImpl(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>> hardwares,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider) |
Modifier and Type | Method and Description |
---|---|
protected Hardware |
automaticHardware(double cores,
int ram,
com.google.common.base.Optional<Float> diskSize) |
protected Hardware |
findHardwareWithId(Set<? extends Hardware> hardwaresToSearch) |
protected Hardware |
resolveHardware(Set<? extends Hardware> hardwarel,
Iterable<? extends Image> images) |
any, biggest, build, fastest, forceCacheReload, from, from, fromHardware, fromImage, fromTemplate, getImages, hardwareId, hardwareSorter, hypervisorMatches, imageChooser, imageChooser, imageDescriptionMatches, imageId, imageMatches, imageNameMatches, imageVersionMatches, locationId, minCores, minDisk, minRam, options, os64Bit, osArchMatches, osDescriptionMatches, osFamily, osNameMatches, osVersionMatches, resolveImage, smallest, string, throwNoSuchElementExceptionAfterLoggingHardwareIds, throwNoSuchElementExceptionAfterLoggingImageIds, toString
@Inject protected ArbitraryCpuRamTemplateBuilderImpl(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>> hardwares, com.google.common.base.Supplier<Location> defaultLocation, @Named(value="DEFAULT") javax.inject.Provider<TemplateOptions> optionsProvider, @Named(value="DEFAULT") javax.inject.Provider<TemplateBuilder> defaultTemplateProvider)
protected Hardware automaticHardware(double cores, int ram, com.google.common.base.Optional<Float> diskSize)
protected Hardware findHardwareWithId(Set<? extends Hardware> hardwaresToSearch)
findHardwareWithId
in class TemplateBuilderImpl
protected Hardware resolveHardware(Set<? extends Hardware> hardwarel, Iterable<? extends Image> images)
resolveHardware
in class TemplateBuilderImpl
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.