UML generation: Mark the urm-maven-plugin execution to be ignored in Eclipse and recreate all .puml files

This commit is contained in:
Ilkka Seppälä
2016-09-18 17:51:09 +03:00
parent b030cd4eba
commit 6026eedd51
78 changed files with 1676 additions and 1609 deletions

View File

@ -1,14 +1,5 @@
@startuml
package com.iluwatar.threadpool {
class Worker {
- task : Task
+ Worker(task : Task)
+ run()
}
class App {
+ App()
+ main(args : String[]) {static}
}
abstract class Task {
- ID_GENERATOR : AtomicInteger {static}
- id : int
@ -18,18 +9,27 @@ package com.iluwatar.threadpool {
+ getTimeMs() : int
+ toString() : String
}
class PotatoPeelingTask {
- TIME_PER_POTATO : int {static}
+ PotatoPeelingTask(numPotatoes : int)
+ toString() : String
}
class CoffeeMakingTask {
- TIME_PER_CUP : int {static}
+ CoffeeMakingTask(numCups : int)
+ toString() : String
}
class Worker {
- task : Task
+ Worker(task : Task)
+ run()
}
class PotatoPeelingTask {
- TIME_PER_POTATO : int {static}
+ PotatoPeelingTask(numPotatoes : int)
+ toString() : String
}
class App {
+ App()
+ main(args : String[]) {static}
}
}
Worker --> "-task" Task
PotatoPeelingTask --|> Task
CoffeeMakingTask --|> Task
PotatoPeelingTask --|> Task
@enduml