droolsjbpm/drools-planner — pull request #7 by triceo (2012-05-18 10:01:37+00:00)
Title: Benchmarker: Ability to configure a matrix of benchmarks easily

This commit introduces new methods to the XmlPlannerBenchmarkFactory, allowing the user to configure their benchmarks from a Freemarker template.

There are two ways of loading templates:
- With implicit Freemarker configuration. User simply provides a Reader/InputStream for their template and Planner handles the rest.
- With explicit Freemarker configuration. User provides Freemarker's Template object, which will require them to create their own Configuration.

This way, users can either choose the defaults or opt in for full Freemarker power at the expense of writing more code. Also, users have the option to provide a data model for their templates - so that they can separate the template logic from the data.

This pull request doesn't change anything in the pre-existing code. Merely adds a few light-weight methods.