public class BrooklynImageChooser
extends java.lang.Object
Constructor and Description |
---|
BrooklynImageChooser() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
blackListedImageIds() |
com.google.common.base.Function<java.lang.Iterable<? extends org.jclouds.compute.domain.Image>,org.jclouds.compute.domain.Image> |
chooser() |
static com.google.common.base.Function<java.lang.Iterable<? extends org.jclouds.compute.domain.Image>,org.jclouds.compute.domain.Image> |
imageChooserFromOrdering(com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> ordering) |
com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> |
ordering() |
com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> |
orderingScoredWithoutDefaults() |
static com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> |
orderingWithDefaults(com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> primaryOrdering) |
double |
punishmentForOldOsVersions(org.jclouds.compute.domain.Image img,
org.jclouds.compute.domain.OsFamily family,
double minVersion) |
double |
score(org.jclouds.compute.domain.Image img) |
java.util.List<java.lang.String> |
whilelistedImageIds() |
public double punishmentForOldOsVersions(org.jclouds.compute.domain.Image img, org.jclouds.compute.domain.OsFamily family, double minVersion)
public java.util.List<java.lang.String> blackListedImageIds()
public java.util.List<java.lang.String> whilelistedImageIds()
public double score(org.jclouds.compute.domain.Image img)
public com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> orderingScoredWithoutDefaults()
public static com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> orderingWithDefaults(com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> primaryOrdering)
public static com.google.common.base.Function<java.lang.Iterable<? extends org.jclouds.compute.domain.Image>,org.jclouds.compute.domain.Image> imageChooserFromOrdering(com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> ordering)
public com.google.common.collect.Ordering<org.jclouds.compute.domain.Image> ordering()
public com.google.common.base.Function<java.lang.Iterable<? extends org.jclouds.compute.domain.Image>,org.jclouds.compute.domain.Image> chooser()