org.optaplanner.benchmark.config
Class FreemarkerXmlPlannerBenchmarkFactory
java.lang.Object
org.optaplanner.benchmark.config.FreemarkerXmlPlannerBenchmarkFactory
- All Implemented Interfaces:
- PlannerBenchmarkFactory
public class FreemarkerXmlPlannerBenchmarkFactory
- extends Object
- implements PlannerBenchmarkFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreemarkerXmlPlannerBenchmarkFactory
public FreemarkerXmlPlannerBenchmarkFactory()
FreemarkerXmlPlannerBenchmarkFactory
public FreemarkerXmlPlannerBenchmarkFactory(String templateResource)
- Parameters:
templateResource
- never null, a classpath resource, as defined by Class.getResource(String)
getXmlPlannerBenchmarkFactory
public XmlPlannerBenchmarkFactory getXmlPlannerBenchmarkFactory()
configure
public FreemarkerXmlPlannerBenchmarkFactory configure(String templateResource)
- Parameters:
templateResource
- a classpath resource, as defined by Class.getResource(String)
- Returns:
- this
configure
public FreemarkerXmlPlannerBenchmarkFactory configure(String templateResource,
Object model)
- Parameters:
templateResource
- a classpath resource, as defined by Class.getResource(String)
model
- for Freemarker
- Returns:
- this
configure
public FreemarkerXmlPlannerBenchmarkFactory configure(InputStream templateIn)
configure
public FreemarkerXmlPlannerBenchmarkFactory configure(InputStream templateIn,
Object model)
configure
public FreemarkerXmlPlannerBenchmarkFactory configure(Reader templateReader)
configure
public FreemarkerXmlPlannerBenchmarkFactory configure(Reader templateReader,
Object model)
configure
public FreemarkerXmlPlannerBenchmarkFactory configure(freemarker.template.Template template)
configure
public FreemarkerXmlPlannerBenchmarkFactory configure(freemarker.template.Template template,
Object model)
getPlannerBenchmarkConfig
public PlannerBenchmarkConfig getPlannerBenchmarkConfig()
- Description copied from interface:
PlannerBenchmarkFactory
- Allows you to problematically change the
PlannerBenchmarkConfig
at runtime before building
the PlannerBenchmark
.
- Specified by:
getPlannerBenchmarkConfig
in interface PlannerBenchmarkFactory
- Returns:
- never null
buildPlannerBenchmark
public PlannerBenchmark buildPlannerBenchmark()
- Specified by:
buildPlannerBenchmark
in interface PlannerBenchmarkFactory
- Returns:
- never null
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.