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()
records all the templates 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)
public AssemblyTemplate commit()
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)