@Deprecated public class CampToSpecTransformer extends java.lang.Object implements PlanToSpecTransformer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
YAML_CAMP_PLAN_TYPE
Deprecated.
|
| Constructor and Description |
|---|
CampToSpecTransformer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(java.lang.String mime)
Deprecated.
whether this accepts the given plan type
|
EntitySpec<? extends Application> |
createApplicationSpec(java.lang.String plan)
Deprecated.
creates an
EntitySpec given a complete plan textual description for a top-level application,
according to the transformation rules this understands. |
<T,SpecT extends AbstractBrooklynObjectSpec<? extends T,SpecT>> |
createCatalogSpec(CatalogItem<T,SpecT> item,
java.util.Set<java.lang.String> encounteredTypes)
Deprecated.
creates an object spec given a catalog item.
|
java.lang.String |
getShortDescription()
Deprecated.
A short, human-readable name for this transformer
|
void |
setManagementContext(ManagementContext mgmt)
Deprecated.
Sets the
ManagementContext reference. |
public static final java.lang.String YAML_CAMP_PLAN_TYPE
public java.lang.String getShortDescription()
PlanToSpecTransformergetShortDescription in interface PlanToSpecTransformerpublic boolean accepts(java.lang.String mime)
PlanToSpecTransformeraccepts in interface PlanToSpecTransformerpublic EntitySpec<? extends Application> createApplicationSpec(java.lang.String plan)
PlanToSpecTransformerEntitySpec given a complete plan textual description for a top-level application,
according to the transformation rules this understands.
should throw PlanNotRecognizedException if not supported.
createApplicationSpec in interface PlanToSpecTransformerpublic <T,SpecT extends AbstractBrooklynObjectSpec<? extends T,SpecT>> SpecT createCatalogSpec(CatalogItem<T,SpecT> item, java.util.Set<java.lang.String> encounteredTypes)
PlanToSpecTransformer
the catalog item might be known by type, or its source plan fragment text might be inspected and transformed.
implementations will typically look at the CatalogItem.getCatalogItemType() first.
should throw PlanNotRecognizedException if this transformer does not know what to do with the plan.
createCatalogSpec in interface PlanToSpecTransformeritem - - The catalog item to convert to a spec. The item might not be fully populated (i.e. missing symbolicName if called
from the catalog parser).encounteredTypes - - The symbolicNames of catalog items being resolved up the stack, but not including item.public void setManagementContext(ManagementContext mgmt)
ManagementContextInjectableManagementContext reference.setManagementContext in interface ManagementContextInjectable