| Constructor and Description |
|---|
AssemblerCollection(Assembler... assemblers) |
AssemblerCollection(Class<? extends Assembler>... assemblyClasses) |
AssemblerCollection(Collection<Assembler> assemblers) |
| Modifier and Type | Method and Description |
|---|---|
void |
assemble(ModuleAssembly module)
Assemblers receive a callback to the ModuleAssembly
they are supposed to configure.
|
public AssemblerCollection(Assembler... assemblers)
@SafeVarargs public AssemblerCollection(Class<? extends Assembler>... assemblyClasses) throws AssemblyException
AssemblyExceptionpublic AssemblerCollection(Collection<Assembler> assemblers)
public void assemble(ModuleAssembly module) throws AssemblyException
Assembler
An Assembler may create new Modules by calling
ModuleAssembly.layer() and
then LayerAssembly.module(String) (String)}.
This allows an Assembler to bootstrap an entire Layer with
more Modules.
assemble in interface Assemblermodule - the Module to assembleAssemblyException - thrown if the assembler tries to do something illegal