public class SchedulerAssembler extends Assemblers.VisibilityConfig<SchedulerAssembler>
new SchedulerAssembler(). visibleIn( Visibility.layer ). withConfig( configModuleAssembly, Visibility.application ). withTimeline(). assemble( module );
Constructor and Description |
---|
SchedulerAssembler() |
Modifier and Type | Method and Description |
---|---|
void |
assemble(ModuleAssembly assembly)
Assemblers receive a callback to the ModuleAssembly
they are supposed to configure.
|
SchedulerAssembler |
withTimeline()
Activate the assembly of Timeline related services.
|
configModule, configVisibility, hasConfig, visibility, visibleIn, withConfig
public SchedulerAssembler withTimeline()
public void assemble(ModuleAssembly assembly) 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.
assembly
- the Module to assembleAssemblyException
- thrown if the assembler tries to do something illegal