X Tutup
Skip to content

Commit fdb9be1

Browse files
MarkusMarkus
authored andcommitted
Work towards iluwatar#56: Add permalink to every pattern
This makes cleaner URLs thanks to jekyll
1 parent fbb12b5 commit fdb9be1

File tree

57 files changed

+113
-80
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+113
-80
lines changed

abstract-factory/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Abstract Factory
44
folder: abstract-factory
5+
permalink: /patterns/abstract-factory/
56
categories:
67
- pattern_cat
78
- creational
@@ -22,4 +23,4 @@ objects without specifying their concrete classes.
2223

2324
**Real world examples:**
2425

25-
* [javax.xml.parsers.DocumentBuilderFactory](http://docs.oracle.com/javase/8/docs/api/javax/xml/parsers/DocumentBuilderFactory.html)
26+
* [javax.xml.parsers.DocumentBuilderFactory](http://docs.oracle.com/javase/8/docs/api/javax/xml/parsers/DocumentBuilderFactory.html)

adapter/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Adapter
44
folder: adapter
5+
permalink: /patterns/adapter/
56
categories: pattern_cat
67
tags: pattern_tag
78
---
@@ -20,4 +21,4 @@ incompatible interfaces.
2021

2122
**Real world examples:**
2223

23-
* [java.util.Arrays#asList()](http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html#asList%28T...%29)
24+
* [java.util.Arrays#asList()](http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html#asList%28T...%29)

async-method-invocation/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Async Method Invocation
44
folder: async-method-invocation
5+
permalink: /patterns/async-method-invocation/
56
categories: pattern_cat
67
tags: pattern_tag
78
---
@@ -23,4 +24,4 @@ callbacks or waiting until everything is done.
2324
**Real world examples:**
2425

2526
* [FutureTask](http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/FutureTask.html), [CompletableFuture](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html) and [ExecutorService](http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html) (Java)
26-
* [Task-based Asynchronous Pattern](https://msdn.microsoft.com/en-us/library/hh873175.aspx) (.NET)
27+
* [Task-based Asynchronous Pattern](https://msdn.microsoft.com/en-us/library/hh873175.aspx) (.NET)

bridge/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Bridge
44
folder: bridge
5+
permalink: /patterns/bridge/
56
categories: pattern_cat
67
tags: pattern_tag
78
---
@@ -18,4 +19,4 @@ vary independently.
1819
* both the abstractions and their implementations should be extensible by subclassing. In this case, the Bridge pattern lets you combine the different abstractions and implementations and extend them independently
1920
* changes in the implementation of an abstraction should have no impact on clients; that is, their code should not have to be recompiled.
2021
* you have a proliferation of classes. Such a class hierarchy indicates the need for splitting an object into two parts. Rumbaugh uses the term "nested generalizations" to refer to such class hierarchies
21-
* you want to share an implementation among multiple objects (perhaps using reference counting), and this fact should be hidden from the client. A simple example is Coplien's String class, in which multiple objects can share the same string representation.
22+
* you want to share an implementation among multiple objects (perhaps using reference counting), and this fact should be hidden from the client. A simple example is Coplien's String class, in which multiple objects can share the same string representation.

builder/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Builder
44
folder: builder
5+
permalink: /patterns/builder/
56
categories: creational
67
tags: pattern_tag
78
---
@@ -20,4 +21,4 @@ representations.
2021
**Real world examples:**
2122

2223
* [java.lang.StringBuilder](http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html)
23-
* [Apache Camel builders](https://github.com/apache/camel/tree/0e195428ee04531be27a0b659005e3aa8d159d23/camel-core/src/main/java/org/apache/camel/builder)
24+
* [Apache Camel builders](https://github.com/apache/camel/tree/0e195428ee04531be27a0b659005e3aa8d159d23/camel-core/src/main/java/org/apache/camel/builder)

business-delegate/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Business Delegate
44
folder: business-delegate
5+
permalink: /patterns/business-delegate/
56
categories: pattern_cat
67
tags: pattern_tag
78
---
@@ -17,4 +18,4 @@ and interact with the business objects that make up the application.
1718

1819
* you want loose coupling between presentation and business tiers
1920
* you want to orchestrate calls to multiple business services
20-
* you want to encapsulate service lookups and service calls
21+
* you want to encapsulate service lookups and service calls

callback/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Callback
44
folder: callback
5+
permalink: /patterns/callback/
56
categories: pattern_cat
67
tags: pattern_tag
78
---
@@ -18,4 +19,4 @@ at some convenient time.
1819

1920
**Real world examples:**
2021

21-
* [CyclicBarrier] (http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CyclicBarrier.html#CyclicBarrier%28int,%20java.lang.Runnable%29) constructor can accept callback that will be triggered every time when barrier is tripped.
22+
* [CyclicBarrier] (http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CyclicBarrier.html#CyclicBarrier%28int,%20java.lang.Runnable%29) constructor can accept callback that will be triggered every time when barrier is tripped.

chain-of-responsibility/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Chain of responsibility
44
folder: chain-of-responsibility
5+
permalink: /patterns/chain-of-responsibility/
56
categories: pattern_cat
67
tags: pattern_tag
78
---
@@ -21,4 +22,4 @@ objects and pass the request along the chain until an object handles it.
2122
**Real world examples:**
2223

2324
* [java.util.logging.Logger#log()](http://docs.oracle.com/javase/8/docs/api/java/util/logging/Logger.html#log%28java.util.logging.Level,%20java.lang.String%29)
24-
* [Apache Commons Chain](https://commons.apache.org/proper/commons-chain/index.html)
25+
* [Apache Commons Chain](https://commons.apache.org/proper/commons-chain/index.html)

command/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Command
44
folder: command
5+
permalink: /patterns/command/
56
categories: pattern_cat
67
tags: pattern_tag
78
---
@@ -28,4 +29,4 @@ support undoable operations.
2829

2930
**Real world examples:**
3031

31-
* [java.lang.Runnable](http://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html)
32+
* [java.lang.Runnable](http://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html)

composite/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: pattern
33
title: Composite
44
folder: composite
5+
permalink: /patterns/composite/
56
categories: pattern_cat
67
tags: pattern_tag
78
---
@@ -20,4 +21,4 @@ of objects uniformly.
2021
**Real world examples:**
2122

2223
* [java.awt.Container](http://docs.oracle.com/javase/8/docs/api/java/awt/Container.html) and [java.awt.Component](http://docs.oracle.com/javase/8/docs/api/java/awt/Component.html)
23-
* [Apache Wicket](https://github.com/apache/wicket) component tree, see [Component](https://github.com/apache/wicket/blob/91e154702ab1ff3481ef6cbb04c6044814b7e130/wicket-core/src/main/java/org/apache/wicket/Component.java) and [MarkupContainer](https://github.com/apache/wicket/blob/b60ec64d0b50a611a9549809c9ab216f0ffa3ae3/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java)
24+
* [Apache Wicket](https://github.com/apache/wicket) component tree, see [Component](https://github.com/apache/wicket/blob/91e154702ab1ff3481ef6cbb04c6044814b7e130/wicket-core/src/main/java/org/apache/wicket/Component.java) and [MarkupContainer](https://github.com/apache/wicket/blob/b60ec64d0b50a611a9549809c9ab216f0ffa3ae3/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java)

0 commit comments

Comments
 (0)
X Tutup