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,29 +1,5 @@
@startuml
package com.iluwatar.command {
abstract class Target {
- size : Size
- visibility : Visibility
+ Target()
+ getSize() : Size
+ getVisibility() : Visibility
+ printStatus()
+ setSize(size : Size)
+ setVisibility(visibility : Visibility)
+ toString() : String {abstract}
}
class Goblin {
+ Goblin()
+ toString() : String
}
class ShrinkSpell {
- oldSize : Size
- target : Target
+ ShrinkSpell()
+ execute(target : Target)
+ redo()
+ toString() : String
+ undo()
}
class InvisibilitySpell {
- target : Target
+ InvisibilitySpell()
@ -32,15 +8,6 @@ package com.iluwatar.command {
+ toString() : String
+ undo()
}
class Wizard {
- redoStack : Deque<Command>
- undoStack : Deque<Command>
+ Wizard()
+ castSpell(command : Command, target : Target)
+ redoLastSpell()
+ toString() : String
+ undoLastSpell()
}
class App {
+ App()
+ main(args : String[]) {static}
@ -52,6 +19,39 @@ package com.iluwatar.command {
+ toString() : String {abstract}
+ undo() {abstract}
}
class Goblin {
+ Goblin()
+ toString() : String
}
abstract class Target {
- size : Size
- visibility : Visibility
+ Target()
+ getSize() : Size
+ getVisibility() : Visibility
+ printStatus()
+ setSize(size : Size)
+ setVisibility(visibility : Visibility)
+ toString() : String {abstract}
}
class Wizard {
- redoStack : Deque<Command>
- undoStack : Deque<Command>
+ Wizard()
+ castSpell(command : Command, target : Target)
+ redoLastSpell()
+ toString() : String
+ undoLastSpell()
}
class ShrinkSpell {
- oldSize : Size
- target : Target
+ ShrinkSpell()
+ execute(target : Target)
+ redo()
+ toString() : String
+ undo()
}
enum Size {
+ LARGE {static}
+ NORMAL {static}
@ -78,7 +78,7 @@ ShrinkSpell --> "-oldSize" Size
InvisibilitySpell --> "-target" Target
ShrinkSpell --> "-target" Target
Target --> "-visibility" Visibility
InvisibilitySpell --|> Command
Goblin --|> Target
ShrinkSpell --|> Command
InvisibilitySpell --|> Command
@enduml