Anurag Agarwal 670c4e43f3 Java 11 migrate 7 remaining f (#1115)
* Moves facade to Java 11

* Moves factory-kit to Java 11

* Moves factory-method to Java 11

* Moves feature-toggle to Java 11

* Moves fluentinterface to Java 11

* Moves flux to Java 11

* Moves flyweight to Java 11

* Moves front-controller to Java 11

* Uses stream properly

* Resolves issues with ci
2019-12-22 14:41:19 +02:00
..
2019-12-07 18:03:49 +02:00
2019-12-22 14:41:19 +02:00
2019-12-18 22:04:08 +02:00

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern Factory Kit factory-kit /patterns/factory-kit/ Creational
Extensibility

Intent

Define a factory of immutable content with separated builder and factory interfaces.

Class diagram

alt text

Applicability

Use the Factory Kit pattern when

  • a class can't anticipate the class of objects it must create
  • you just want a new instance of a custom builder instead of the global one
  • you explicitly want to define types of objects, that factory can build
  • you want a separated builder and creator interface

Credits