public class XStreamXmlPlannerBenchmarkFactory extends PlannerBenchmarkFactory
PlannerBenchmarkFactory| Modifier and Type | Field and Description |
|---|---|
protected PlannerBenchmarkConfig |
plannerBenchmarkConfig |
protected com.thoughtworks.xstream.XStream |
xStream |
| Constructor and Description |
|---|
XStreamXmlPlannerBenchmarkFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addXStreamAnnotations(Class... xStreamAnnotations) |
PlannerBenchmark |
buildPlannerBenchmark()
Creates a new
PlannerBenchmark instance. |
XStreamXmlPlannerBenchmarkFactory |
configure(File benchmarkConfigFile) |
XStreamXmlPlannerBenchmarkFactory |
configure(InputStream in) |
XStreamXmlPlannerBenchmarkFactory |
configure(Reader reader) |
XStreamXmlPlannerBenchmarkFactory |
configure(String benchmarkConfigResource) |
PlannerBenchmarkConfig |
getPlannerBenchmarkConfig()
Allows you to problematically change the
PlannerBenchmarkConfig at runtime before building
the PlannerBenchmark. |
com.thoughtworks.xstream.XStream |
getXStream() |
createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromXmlFile, createFromXmlInputStream, createFromXmlReader, createFromXmlResourceprotected com.thoughtworks.xstream.XStream xStream
protected PlannerBenchmarkConfig plannerBenchmarkConfig
public void addXStreamAnnotations(Class... xStreamAnnotations)
xStreamAnnotations - never nullXStream.processAnnotations(Class[])public com.thoughtworks.xstream.XStream getXStream()
public XStreamXmlPlannerBenchmarkFactory configure(String benchmarkConfigResource)
benchmarkConfigResource - never null, a classpath resource
as defined by ClassLoader.getResource(String)public XStreamXmlPlannerBenchmarkFactory configure(File benchmarkConfigFile)
public XStreamXmlPlannerBenchmarkFactory configure(InputStream in)
public XStreamXmlPlannerBenchmarkFactory configure(Reader reader)
public PlannerBenchmarkConfig getPlannerBenchmarkConfig()
PlannerBenchmarkFactoryPlannerBenchmarkConfig at runtime before building
the PlannerBenchmark.getPlannerBenchmarkConfig in class PlannerBenchmarkFactorypublic PlannerBenchmark buildPlannerBenchmark()
PlannerBenchmarkFactoryPlannerBenchmark instance.buildPlannerBenchmark in class PlannerBenchmarkFactoryCopyright © 2006–2015 JBoss by Red Hat. All rights reserved.