public class AssemblyTemplate.Builder<T extends AssemblyTemplate> extends AbstractResource.Builder<T,AssemblyTemplate.Builder<T>>
Modifier and Type | Method and Description |
---|---|
AssemblyTemplate.Builder<T> |
add(ApplicationComponentTemplate x) |
AssemblyTemplate.Builder<T> |
add(PlatformComponentTemplate x) |
AssemblyTemplate.Builder<T> |
applicationComponentTemplates(ResourceLookup<ApplicationComponentTemplate> x) |
T |
build() |
AssemblyTemplate.Builder<T> |
instantiator(java.lang.Class<? extends AssemblyTemplateInstantiator> x) |
T |
peek()
allows callers to see the partially formed instance when needed, for example to query instantiators;
could be replaced by specific methods as and when that is preferred
|
AssemblyTemplate.Builder<T> |
platformComponentTemplates(ResourceLookup<PlatformComponentTemplate> x) |
created, customAttribute, description, id, name, representationSkew, sourceCode, tags, type
public AssemblyTemplate.Builder<T> instantiator(java.lang.Class<? extends AssemblyTemplateInstantiator> x)
public AssemblyTemplate.Builder<T> applicationComponentTemplates(ResourceLookup<ApplicationComponentTemplate> x)
public AssemblyTemplate.Builder<T> platformComponentTemplates(ResourceLookup<PlatformComponentTemplate> x)
public T peek()
public AssemblyTemplate.Builder<T> add(ApplicationComponentTemplate x)
public AssemblyTemplate.Builder<T> add(PlatformComponentTemplate x)
public T build()
build
in class AbstractResource.Builder<T extends AssemblyTemplate,AssemblyTemplate.Builder<T extends AssemblyTemplate>>