public abstract class AbstractFormatSpecificTypeImplementationPlan<T> extends BasicTypeImplementationPlan
RegisteredType.TypeImplementationPlan with strong types on
getPlanData() and ensuring the correct format (or null for no format)| Constructor and Description |
|---|
AbstractFormatSpecificTypeImplementationPlan(java.lang.String expectedFormat,
java.lang.Class<T> expectedDataType,
RegisteredType.TypeImplementationPlan otherPlan) |
AbstractFormatSpecificTypeImplementationPlan(java.lang.String format,
T data) |
| Modifier and Type | Method and Description |
|---|---|
T |
getPlanData()
data for the implementation; may be more specific
|
java.lang.String |
getPlanFormat()
hint which
BrooklynTypePlanTransformer instance(s) can be used, if known;
this may be null if the relevant transformer was not declared when created,
but in general we should look to determine the kind as early as possible
and use that to retrieve the appropriate such transformer |
equals, hashCodepublic AbstractFormatSpecificTypeImplementationPlan(java.lang.String format,
T data)
public AbstractFormatSpecificTypeImplementationPlan(java.lang.String expectedFormat,
java.lang.Class<T> expectedDataType,
RegisteredType.TypeImplementationPlan otherPlan)
public java.lang.String getPlanFormat()
RegisteredType.TypeImplementationPlanBrooklynTypePlanTransformer instance(s) can be used, if known;
this may be null if the relevant transformer was not declared when created,
but in general we should look to determine the kind as early as possible
and use that to retrieve the appropriate such transformergetPlanFormat in interface RegisteredType.TypeImplementationPlangetPlanFormat in class BasicTypeImplementationPlanpublic T getPlanData()
RegisteredType.TypeImplementationPlangetPlanData in interface RegisteredType.TypeImplementationPlangetPlanData in class BasicTypeImplementationPlan