Skip to content

Commit 9f2a39e

Browse files
authored
Add class diagram for multi module support
1 parent 1c07d0e commit 9f2a39e

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
@startuml
2+
3+
interface Action {
4+
apply(ProjectContext)
5+
}
6+
7+
class AbstractAction {
8+
}
9+
10+
AbstractAction ..|> Action
11+
12+
class MultiModuleAwareAction {
13+
handler : MultiModuleHandler
14+
}
15+
16+
MultiModuleAwareAction --|> AbstractAction
17+
18+
class MultiModuleHandler {
19+
apply(ProjectContext)
20+
}
21+
22+
MultiModuleAwareAction .> MultiModuleHandler
23+
24+
class AddDependency {
25+
}
26+
27+
class AddDependencyActionConfig {
28+
groupId
29+
artifactId
30+
version
31+
...
32+
}
33+
34+
class AddDependencyToSpringApplicationModules {
35+
}
36+
MultiModuleHandler <|.. AddDependencyToSpringApplicationModules
37+
AddDependencyToSpringApplicationModules .> AddDependencyActionConfig
38+
AddDependency --|> MultiModuleAwareAction
39+
AddDependency ..> AddDependencyActionConfig
40+
41+
@enduml

0 commit comments

Comments
 (0)