public class BrooklynImageChooser
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
BrooklynImageChooser.ImageChooserFromOrdering |
static class |
BrooklynImageChooser.OrderingScoredWithoutDefaults |
static class |
BrooklynImageChooser.OrderingWithDefaults |
| Constructor and Description |
|---|
BrooklynImageChooser() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
blackListedImageIds() |
|
chooser() |
BrooklynImageChooser |
clone() |
BrooklynImageChooser |
cloneFor(org.jclouds.compute.ComputeService service) |
static <T> T |
cloneFor(T item,
org.jclouds.compute.ComputeService service)
Attempts to clone the given item for use with the given
ComputeService, if
the item is ComputeServiceAwareChooser; otherwise it returns the item unchanged |
static |
imageChooserFromOrdering( |
static |
imageChooserFromOrderingDeprecated(
Deprecated.
since 0.7.0 kept in case persisted
|
|
ordering() |
|
orderingScoredWithoutDefaults() |
|
orderingScoredWithoutDefaultsDeprecated()
Deprecated.
since 0.7.0 kept in case persisted
|
static |
orderingWithDefaults( |
static |
orderingWithDefaultsDeprecated(
Deprecated.
since 0.7.0 kept in case persisted
|
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 BrooklynImageChooser clone()
clone in class java.lang.Objectpublic BrooklynImageChooser cloneFor(org.jclouds.compute.ComputeService service)
publicorderingScoredWithoutDefaults()
@Deprecated publicorderingScoredWithoutDefaultsDeprecated()
public staticorderingWithDefaults( primaryOrdering)
@Deprecated public staticorderingWithDefaultsDeprecated( primaryOrdering)
public staticimageChooserFromOrdering( ordering)
@Deprecated public staticimageChooserFromOrderingDeprecated( ordering)
public static <T> T cloneFor(T item,
org.jclouds.compute.ComputeService service)
ComputeService, if
the item is ComputeServiceAwareChooser; otherwise it returns the item unchangedpublicordering()
publicchooser()