#1113 Add uml-reverse-mapper plugin
This commit is contained in:
30
balking/etc/balking.urm.puml
Normal file
30
balking/etc/balking.urm.puml
Normal file
@ -0,0 +1,30 @@
|
||||
@startuml
|
||||
package com.iluwatar.balking {
|
||||
class App {
|
||||
- LOGGER : Logger {static}
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
interface DelayProvider {
|
||||
+ executeAfterDelay(long, TimeUnit, Runnable) {abstract}
|
||||
}
|
||||
class WashingMachine {
|
||||
- LOGGER : Logger {static}
|
||||
- delayProvider : DelayProvider
|
||||
- washingMachineState : WashingMachineState
|
||||
+ WashingMachine()
|
||||
+ WashingMachine(delayProvider : DelayProvider)
|
||||
+ endOfWashing()
|
||||
+ getWashingMachineState() : WashingMachineState
|
||||
+ wash()
|
||||
}
|
||||
enum WashingMachineState {
|
||||
+ ENABLED {static}
|
||||
+ WASHING {static}
|
||||
+ valueOf(name : String) : WashingMachineState {static}
|
||||
+ values() : WashingMachineState[] {static}
|
||||
}
|
||||
}
|
||||
WashingMachine --> "-washingMachineState" WashingMachineState
|
||||
WashingMachine --> "-delayProvider" DelayProvider
|
||||
@enduml
|
Reference in New Issue
Block a user