Repository navigation
Home
Welcome! From here you learn how to start using Flapi.
Flapi is a fluent API generator for Java. Fluent builders allow developers to more easily interact with your code, using a syntax more akin to natural language. See these articles for more information.
Flapi is now a stable release, with all of the important features implemented. Please help the project by testing and reporting bugs, either on GitHub or JIRA.
You can grab the latest jar from the repository directly.
Or, if you are using Maven you can also include the following repository and dependency in your POM file:
<repositories>
<repository>
<id>uqc</id>
<name>UnquietCode Repository</name>
<url>http://www.unquietcode.com/maven/releases</url>
</repository>
</repositories>
...
<dependency>
<groupId>unquietcode.tools.flapi</groupId>
<artifactId>flapi</artifactId>
<version>0.2</version>
</dependency>
Version 0.2 is out and includes bugfixes, a rearchitecture of the underlying code generation logic, and a few changes to the API. New features include multiple return values and implicit terminals. See the Release Notes for the full details. The House Builder example demonstrates both implicit terminals and returning multiple values.
As well, the 'support' classes are now written out alongside the descriptors, which means that Flapi is no longer required as a runtime dependency when using your generated builders. (yay!)
Many helpful examples are included on the wiki, corresponding to examples and tests in the src/test directory.
The original blog post describing Flapi.
Use the issue tracker to report problems encountered or new feature requests.
Feel free to fork the project and fiddle around! Submit pull requests to improve the code. Create issues to help support the project.