public class TypePlanTransformers
extends java.lang.Object
Constructor and Description |
---|
TypePlanTransformers() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<BrooklynTypePlanTransformer> |
all(ManagementContext mgmt) |
static void |
clearForced() |
static void |
forceAvailable(java.lang.Class<? extends BrooklynTypePlanTransformer>... classes) |
static java.util.List<BrooklynTypePlanTransformer> |
forType(ManagementContext mgmt,
RegisteredType type,
RegisteredTypeLoadingContext constraint)
returns a list of
BrooklynTypePlanTransformer instances for this ManagementContext
which may be able to handle the given plan; the list is sorted with highest-score transformer first |
static Maybe<java.lang.Object> |
transform(ManagementContext mgmt,
RegisteredType type,
RegisteredTypeLoadingContext constraint)
transforms the given type to an instance, if possible
|
@SafeVarargs public static void forceAvailable(java.lang.Class<? extends BrooklynTypePlanTransformer>... classes)
public static void clearForced()
public static java.util.Collection<BrooklynTypePlanTransformer> all(ManagementContext mgmt)
public static java.util.List<BrooklynTypePlanTransformer> forType(ManagementContext mgmt, RegisteredType type, RegisteredTypeLoadingContext constraint)
BrooklynTypePlanTransformer
instances for this ManagementContext
which may be able to handle the given plan; the list is sorted with highest-score transformer firstpublic static Maybe<java.lang.Object> transform(ManagementContext mgmt, RegisteredType type, RegisteredTypeLoadingContext constraint)
callers should generally use one of the create methods on BrooklynTypeRegistry
rather than using this method directly.