public class AssemblyTemplateConstructor
extends java.lang.Object
Constructor and Description |
---|
AssemblyTemplateConstructor(CampPlatform campPlatform) |
Modifier and Type | Method and Description |
---|---|
void |
add(ApplicationComponentTemplate act) |
void |
add(PlatformComponentTemplate pct) |
void |
addCustomAttributes(java.util.Map<java.lang.String,java.lang.Object> attrs) |
AssemblyTemplate |
commit()
Deprecated.
since 0.10.0 use
construct(boolean) |
AssemblyTemplate |
construct(boolean save)
builds the template, optionally recording everything to the underlying platform
|
void |
description(java.lang.String description) |
java.lang.Class<? extends AssemblyTemplateInstantiator> |
getInstantiator() |
void |
instantiator(java.lang.Class<? extends AssemblyTemplateInstantiator> instantiator) |
void |
name(java.lang.String name) |
void |
sourceCode(java.lang.String sourceCode) |
public AssemblyTemplateConstructor(CampPlatform campPlatform)
@Deprecated public AssemblyTemplate commit()
construct(boolean)
public AssemblyTemplate construct(boolean save)
public void name(java.lang.String name)
public void description(java.lang.String description)
public void sourceCode(java.lang.String sourceCode)
public void addCustomAttributes(java.util.Map<java.lang.String,java.lang.Object> attrs)
public void instantiator(java.lang.Class<? extends AssemblyTemplateInstantiator> instantiator)
public java.lang.Class<? extends AssemblyTemplateInstantiator> getInstantiator()
public void add(ApplicationComponentTemplate act)
public void add(PlatformComponentTemplate pct)