public interface CreateFromTemplateAttributes
Lookupand allows anyone provide additional parameters to each
CreateFromTemplateHandlers when a template is instantiating.
Implementations are called in the order of appearance in Lookup. The positions less than 0 are reserved for the platform. Implementations called later can see and override values defined by earlier CreateFromTemplateAttributes.
Read more in the howto document.
This interface supersedes
|Modifier and Type||Method and Description|
Called when a template is about to be instantiated to provide additional values to the
Map<String,?> attributesFor(CreateDescriptor desc)
CreateFromTemplateHandlerthat will handle the template instantiation.
If the returned Map defines the same value as some
earlier, the Map's value takes precedence. Parameters supplied by the
FileBuilder cannot be
desc- the creation request