UML generation: Mark the urm-maven-plugin execution to be ignored in Eclipse and recreate all .puml files
This commit is contained in:
@ -1,32 +1,11 @@
|
||||
@startuml
|
||||
package com.iluwatar.semaphore {
|
||||
class FruitShop {
|
||||
- available : boolean[]
|
||||
- bowls : FruitBowl[]
|
||||
- semaphore : Semaphore
|
||||
+ FruitShop()
|
||||
+ countFruit() : int
|
||||
+ returnBowl(bowl : FruitBowl)
|
||||
+ takeBowl() : FruitBowl
|
||||
}
|
||||
class FruitBowl {
|
||||
- fruit : ArrayList<Fruit>
|
||||
+ FruitBowl()
|
||||
+ countFruit() : int
|
||||
+ put(f : Fruit)
|
||||
+ take() : Fruit
|
||||
+ toString() : String
|
||||
}
|
||||
class Fruit {
|
||||
- type : FruitType
|
||||
+ Fruit(type : FruitType)
|
||||
+ getType() : FruitType
|
||||
+ toString() : String
|
||||
}
|
||||
interface Lock {
|
||||
+ acquire() {abstract}
|
||||
+ release() {abstract}
|
||||
}
|
||||
class App {
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
@ -40,6 +19,27 @@ package com.iluwatar.semaphore {
|
||||
+ getNumLicenses() : int
|
||||
+ release()
|
||||
}
|
||||
class FruitShop {
|
||||
- available : boolean[]
|
||||
- bowls : FruitBowl[]
|
||||
- semaphore : Semaphore
|
||||
+ FruitShop()
|
||||
+ countFruit() : int
|
||||
+ returnBowl(bowl : FruitBowl)
|
||||
+ takeBowl() : FruitBowl
|
||||
}
|
||||
interface Lock {
|
||||
+ acquire() {abstract}
|
||||
+ release() {abstract}
|
||||
}
|
||||
class FruitBowl {
|
||||
- fruit : ArrayList<Fruit>
|
||||
+ FruitBowl()
|
||||
+ countFruit() : int
|
||||
+ put(f : Fruit)
|
||||
+ take() : Fruit
|
||||
+ toString() : String
|
||||
}
|
||||
enum FruitType {
|
||||
+ APPLE {static}
|
||||
+ LEMON {static}
|
||||
|
Reference in New Issue
Block a user