public interface ApplicationAssembly
Modifier and Type | Method and Description |
---|---|
LayerAssembly |
layer(String name)
Create a new layer assembly
|
Application.Mode |
mode()
Get the currently set mode of the application
|
ModuleAssembly |
module(String layerName,
String moduleName)
Get an assembly for a particular Module.
|
String |
name()
Get the currently set name of the application
|
ApplicationAssembly |
setMetaInfo(Object info) |
ApplicationAssembly |
setMode(Application.Mode mode)
Set the application mode.
|
ApplicationAssembly |
setName(String name)
Set the name of the application
|
ApplicationAssembly |
setVersion(String version)
Set the version of the application.
|
String |
version()
Get the currently set version of the application
|
<ThrowableType extends Throwable> |
visit(AssemblyVisitor<ThrowableType> visitor) |
ApplicationAssembly |
withActivators(Class<? extends Activator<Application>>... activators)
Set the application activators.
|
LayerAssembly layer(String name)
name
- of the new layerModuleAssembly module(String layerName, String moduleName)
layerName
- The name of the LayermoduleName
- The name of the Module to retrieve or create.String name()
String version()
Application.Mode mode()
ApplicationAssembly setName(String name)
name
- of the applicationApplicationAssembly setVersion(String version)
version
- of the applicationApplicationAssembly setMode(Application.Mode mode)
mode
- the application modeApplicationAssembly setMetaInfo(Object info)
ApplicationAssembly withActivators(Class<? extends Activator<Application>>... activators)
activators
- the application activators<ThrowableType extends Throwable> void visit(AssemblyVisitor<ThrowableType> visitor) throws ThrowableType extends Throwable
ThrowableType extends Throwable