Skip to content

Commit 812eeb3

Browse files
committed
add class diagram for generator commands
1 parent 994d578 commit 812eeb3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/class_generators.puml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@startuml
2+
3+
class ContextMapperCommandHandler {
4+
+ registerCommands(ExecuteCommandAcceptor)
5+
}
6+
7+
class GeneratorCommandExecutor {
8+
- serviceRegistry: ServiceRegistry
9+
+ execute(ContextMapperGenerator, unknown[], CancellationToken)
10+
}
11+
12+
interface ContextMapperGenerator {
13+
+ generate(ContextMappingModel, string, unknown[], CancellationToken)
14+
}
15+
16+
ContextMapperCommandHandler *-- "1" GeneratorCommandExecutor
17+
ContextMapperCommandHandler o-- "0..*" ContextMapperGenerator
18+
19+
@enduml

0 commit comments

Comments
 (0)