The specification pattern as described by Eric Evans and Martin Fowler.
We use it in the production at Czech Radio together with our repository classes, see the Repository Pattern.
The installation of the package is possible via JitPack. To add a dependency on Specification latest release using Maven, use the following:
Step 1. Add the repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Step 2. Add the latest release dependency
<dependency>
<groupId>com.github.uetoyo</groupId>
<artifactId>specification</artifactId>
<version>v0.5.0</version>
</dependency>
For another build system check the link above.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated on this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
In the original paper1 it is called the Leaf Specification.