Skip to content

Commit c2a7b90

Browse files
author
NooBxGockeL
committed
Work on iluwatar#190: urm/puml updates
* added pumlid where it was missing and possible * removed pumlid where it generated a bad image * regenerated some incorrect puml's * added 'left to right direction' puml prefix to some diagrams to improve the automatic layouting
1 parent 175e9f5 commit c2a7b90

File tree

19 files changed

+73
-62
lines changed

19 files changed

+73
-62
lines changed

event-asynchronous/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ tags:
1212

1313
## Intent
1414
The Event-based Asynchronous Pattern makes available the advantages of multithreaded applications while hiding many
15-
of the complex issues inherent in multithreaded design. Using a class that supports this pattern can allow you to:-
16-
(1) Perform time-consuming tasks, such as downloads and database operations, "in the background," without interrupting your application.
17-
(2) Execute multiple operations simultaneously, receiving notifications when each completes.
18-
(3) Wait for resources to become available without stopping ("hanging") your application.
19-
(4) Communicate with pending asynchronous operations using the familiar events-and-delegates model.
15+
of the complex issues inherent in multithreaded design. Using a class that supports this pattern can allow you to:
16+
17+
1. Perform time-consuming tasks, such as downloads and database operations, "in the background," without interrupting your application.
18+
2. Execute multiple operations simultaneously, receiving notifications when each completes.
19+
3. Wait for resources to become available without stopping ("hanging") your application.
20+
4. Communicate with pending asynchronous operations using the familiar events-and-delegates model.
2021

2122
![alt text](./etc/event-asynchronous.png "Event-based Asynchronous")
2223

guarded-suspension/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: pattern
33
title: Guarded Suspension
44
folder: guarded-suspension
55
permalink: /patterns/guarded-suspension/
6+
pumlid: ROux3W8n30LxJW47IDnJxLLCOcMD4YVoXxq-eQTwev56UeSvgiVejmTBwL4fjDzFzsLF0CKhD_OpNc6aPOgJU2vp0FUuSAVmnW-cIiPDqa9tKZ4OQ1kW1MgbcYniaHXF0VBoH-VGaTVlnK5Iztu1
67
categories: Concurrency
78
tags:
89
- Java

guarded-suspension/etc/guarded-suspension.urm.puml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@startuml
22
package com.iluwatar.guarded.suspension {
3+
class App {
4+
+ App()
5+
+ main(args : String[]) {static}
6+
}
37
class GuardedQueue {
48
- LOGGER : Logger {static}
59
- sourceList : Queue<Integer>

hexagonal/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Hexagonal Architecture
44
folder: hexagonal
55
permalink: /patterns/hexagonal/
66
pumlid: HSTB4W8X30N0g-W1XkozpPD90LO8L3wEnzUTk-xxq2fvSfhSUiJs1v7XAcr4psSwMrqQh57gcZGaBmICNdZZEDb7qsCZWasT9lm7wln1MmeXZlfVIPjbvvGl
7+
pumlformat: svg
78
categories: Architectural
89
tags:
910
- Java

intercepting-filter/etc/intercepting-filter.urm.puml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@startuml
2+
left to right direction
23
package com.iluwatar.intercepting.filter {
34
abstract class AbstractFilter {
45
- next : Filter
@@ -79,10 +80,10 @@ AbstractFilter --> "-next" Filter
7980
DListener --+ Target
8081
FilterChain --> "-chain" Filter
8182
FilterManager --> "-filterChain" FilterChain
82-
AbstractFilter ..|> Filter
83-
AddressFilter --|> AbstractFilter
84-
ContactFilter --|> AbstractFilter
85-
DepositFilter --|> AbstractFilter
86-
NameFilter --|> AbstractFilter
87-
OrderFilter --|> AbstractFilter
88-
@enduml
83+
AbstractFilter ..|> Filter
84+
AddressFilter --|> AbstractFilter
85+
ContactFilter --|> AbstractFilter
86+
DepositFilter --|> AbstractFilter
87+
NameFilter --|> AbstractFilter
88+
OrderFilter --|> AbstractFilter
89+
@enduml

interpreter/etc/interpreter.urm.puml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@startuml
2+
left to right direction
23
package com.iluwatar.interpreter {
34
class App {
45
- LOGGER : Logger {static}
@@ -44,8 +45,8 @@ package com.iluwatar.interpreter {
4445
MultiplyExpression --> "-leftExpression" Expression
4546
MinusExpression --> "-leftExpression" Expression
4647
PlusExpression --> "-leftExpression" Expression
47-
MinusExpression --|> Expression
48-
MultiplyExpression --|> Expression
49-
NumberExpression --|> Expression
50-
PlusExpression --|> Expression
51-
@enduml
48+
MinusExpression --|> Expression
49+
MultiplyExpression --|> Expression
50+
NumberExpression --|> Expression
51+
PlusExpression --|> Expression
52+
@enduml

layers/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Layers
44
folder: layers
55
permalink: /patterns/layers/
66
pumlid: BSR13OCm30NGLSe0n7UsCS62L8w9x6yGszD3t-bDpQhc9kdwEO0H2v7pNVQ68zSCyNeQn53gsQbftWns-lB5yoRHTfi70-8Mr3b-8UL7F4XG_otflOpi-W80
7+
pumlformat: svg
78
categories: Architectural
89
tags:
910
- Java

message-channel/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ layout: pattern
33
title: Message Channel
44
folder: message-channel
55
permalink: /patterns/message-channel/
6-
pumlid: NSZB3SCm203GLTe1RExTXX1akm9YyMdMRy-zFRtdCf8wkLmUCtF72y3nxcFbhAE2dIvBjknqAIof6nCTtlZ1TdAiOMrZ9hi5ACOFe1o1WnjDD6C1Jlg_NgvzbyeN
76
categories: Integration
8-
tags:
7+
tags:
98
- Java
109
- EIP
1110
- Apache Camel™
@@ -24,4 +23,4 @@ Use the Message Channel pattern when
2423

2524
## Real world examples
2625

27-
* [akka-camel](http://doc.akka.io/docs/akka/snapshot/scala/camel.html)
26+
* [akka-camel](http://doc.akka.io/docs/akka/snapshot/scala/camel.html)

naked-objects/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ layout: pattern
33
title: Naked Objects
44
folder: naked-objects
55
permalink: /patterns/naked-objects/
6-
pumlid: LSX15i8W30N0g-W187jlaq9igH1uoO_r-BfrDs_kJKkFAc7zTW3B7qJ6LzuRZjZ2nSfKY2ANEQZrk1XiTFARKnLlkwR5W9Ww3VOVIFabDStjb08dGVcVz6mVX4aE6td5w5y0
76
categories: Architectural
87
tags:
98
- Java

object-mother/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: pattern
33
title: Object Mother
44
folder: object-mother
55
permalink: /patterns/object-mother/
6-
pumlid:
6+
pumlid: LOr13iCW30JlVKNx0E3UKxxYW9KGWK7sklb-wR6dtLbfj9k15DxRurKbDo_isfudCEsTaj8TZuhJTpVMF0GiY7dqL9lVjDHqqOT2OQk7X4a0grZgPAkaiL-S4Vh0kOYH_vVeskFyVMyiPUKN
77
categories: Creational
88
tags:
99
- Java
@@ -28,4 +28,4 @@ Use the Object Mother pattern when
2828

2929
* [c2wiki - Object Mother](http://c2.com/cgi/wiki?ObjectMother)
3030

31-
* [Nat Pryce - Test Data Builders: an alternative to the Object Mother pattern](http://www.natpryce.com/articles/000714.html)
31+
* [Nat Pryce - Test Data Builders: an alternative to the Object Mother pattern](http://www.natpryce.com/articles/000714.html)

0 commit comments

Comments
 (0)