public interface AssemblyVisitor<ThrowableType extends Throwable>
Implement this interface and call visit() on ApplicationAssembly, LayerAssembly or ModuleAssembly.
This can be used to, for example, add metadata to all entities, add concerns on composites, or similar.
Modifier and Type | Method and Description |
---|---|
void |
visitApplication(ApplicationAssembly assembly) |
void |
visitComposite(TransientDeclaration declaration) |
void |
visitEntity(EntityDeclaration declaration) |
void |
visitImportedService(ImportedServiceDeclaration declaration) |
void |
visitLayer(LayerAssembly assembly) |
void |
visitModule(ModuleAssembly assembly) |
void |
visitObject(ObjectDeclaration declaration) |
void |
visitService(ServiceDeclaration declaration) |
void |
visitValue(ValueDeclaration declaration) |
void visitApplication(ApplicationAssembly assembly) throws ThrowableType extends Throwable
ThrowableType extends Throwable
void visitLayer(LayerAssembly assembly) throws ThrowableType extends Throwable
ThrowableType extends Throwable
void visitModule(ModuleAssembly assembly) throws ThrowableType extends Throwable
ThrowableType extends Throwable
void visitComposite(TransientDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwable
void visitEntity(EntityDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwable
void visitService(ServiceDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwable
void visitImportedService(ImportedServiceDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwable
void visitValue(ValueDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwable
void visitObject(ObjectDeclaration declaration) throws ThrowableType extends Throwable
ThrowableType extends Throwable