https://github.com/iluwatar/java-design-patterns-web/issues/8 Update pattern categories and tags
This commit is contained in:
@ -5,9 +5,7 @@ folder: pipeline
|
||||
permalink: /patterns/pipeline/
|
||||
categories: Behavioral
|
||||
tags:
|
||||
- Java
|
||||
- Functional
|
||||
- Difficulty-Intermediate
|
||||
- Decoupling
|
||||
---
|
||||
|
||||
## Intent
|
||||
@ -19,13 +17,13 @@ Allows processing of data in a series of stages by giving in an initial input an
|
||||
## Applicability
|
||||
Use the Pipeline pattern when you want to
|
||||
|
||||
* execute individual stages that yields a final value
|
||||
* add readability to complex sequence of operations by providing a fluent builder as an interface
|
||||
* improve testability of code since stages will most likely be doing a single thing, complying to the [Single Responsibility Principle (SRP)](https://java-design-patterns.com/principles/#single-responsibility-principle)
|
||||
* Execute individual stages that yields a final value
|
||||
* Add readability to complex sequence of operations by providing a fluent builder as an interface
|
||||
* Improve testability of code since stages will most likely be doing a single thing, complying to the [Single Responsibility Principle (SRP)](https://java-design-patterns.com/principles/#single-responsibility-principle)
|
||||
|
||||
## Typical Use Case
|
||||
|
||||
* implement stages and execute them in an ordered manner
|
||||
* Implement stages and execute them in an ordered manner
|
||||
|
||||
## Real world examples
|
||||
|
||||
|
Reference in New Issue
Block a user