1
- ## Java Design Patterns
1
+ # Java Design Patterns
2
2
3
3
[ ![ Maven CI] ( https://github.com/gazbert/java-design-patterns/actions/workflows/maven.yml/badge.svg?branch=master )] ( https://github.com/gazbert/java-design-patterns/actions/workflows/maven.yml )
4
4
@@ -8,14 +8,12 @@ A cookbook of commonly used Java design patterns based on examples from:
8
8
* "Head First Design Patterns" - Freeman et al
9
9
* "Java Design Pattern Essentials" - Tony Brevis
10
10
11
- I'll be adding new patterns to the project on an ad-hoc basis.
12
-
13
- Each pattern is contained in its own package - the package-info will provide more details and the Test class
11
+ Each pattern is contained in its own package. The Javadoc will provide more details and the Test class
14
12
will demonstrate how to use it.
15
13
16
14
Any comments/bugs/better ways of doing things, send 'em my way.
17
15
18
- ### Behavioural Patterns
16
+ ## Behavioural Patterns
19
17
20
18
1 . State
21
19
1 . Chain of Responsibility
@@ -25,16 +23,27 @@ Any comments/bugs/better ways of doing things, send 'em my way.
25
23
1 . Template Method
26
24
1 . Visitor
27
25
28
- ### Creational Patterns
26
+ ## Creational Patterns
29
27
30
28
1 . Builder
31
29
1 . Factory Method
32
30
1 . Static Factory Method / Simple Factory Method
33
31
1 . Abstract Factory
34
32
1 . Singleton
35
33
36
- ### Structural Patterns
34
+ ## Structural Patterns
37
35
38
36
1 . Adapter
39
37
1 . Decorator
40
38
1 . Facade
39
+
40
+ # Build Guide
41
+ You'll need JDK 11+ installed on your dev box.
42
+
43
+ You can use the included Maven wrapper to build the project and pull down the dependencies:
44
+
45
+ ``` bash
46
+ ./mvnw clean install
47
+ ```
48
+
49
+ The Javadoc can be found in the ` <project-root>/target/apidocs ` folder after you execute the build.
0 commit comments