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, hashCode
public 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.TypeImplementationPlan
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 transformergetPlanFormat
in interface RegisteredType.TypeImplementationPlan
getPlanFormat
in class BasicTypeImplementationPlan
public T getPlanData()
RegisteredType.TypeImplementationPlan
getPlanData
in interface RegisteredType.TypeImplementationPlan
getPlanData
in class BasicTypeImplementationPlan