public class XStreamXmlPlannerBenchmarkFactory extends AbstractPlannerBenchmarkFactory
PlannerBenchmarkFactory
Modifier and Type | Field and Description |
---|---|
protected com.thoughtworks.xstream.XStream |
xStream |
plannerBenchmarkConfig, solverConfigContext
Constructor and Description |
---|
XStreamXmlPlannerBenchmarkFactory() |
XStreamXmlPlannerBenchmarkFactory(SolverConfigContext solverConfigContext) |
Modifier and Type | Method and Description |
---|---|
void |
addXStreamAnnotations(Class... xStreamAnnotations) |
XStreamXmlPlannerBenchmarkFactory |
configure(File benchmarkConfigFile) |
XStreamXmlPlannerBenchmarkFactory |
configure(InputStream in) |
XStreamXmlPlannerBenchmarkFactory |
configure(Reader reader) |
XStreamXmlPlannerBenchmarkFactory |
configure(String benchmarkConfigResource) |
com.thoughtworks.xstream.XStream |
getXStream() |
buildPlannerBenchmark, buildPlannerBenchmark, buildPlannerBenchmark, checkPlannerBenchmarkConfigNotNull, getPlannerBenchmarkConfig
createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlFile, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlInputStream, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlReader, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromFreemarkerXmlResource, createFromKieContainerXmlResource, createFromKieContainerXmlResource, createFromKieContainerXmlResource, createFromSolverFactory, createFromSolverFactory, createFromXmlFile, createFromXmlFile, createFromXmlInputStream, createFromXmlInputStream, createFromXmlReader, createFromXmlReader, createFromXmlResource, createFromXmlResource
public XStreamXmlPlannerBenchmarkFactory()
public XStreamXmlPlannerBenchmarkFactory(SolverConfigContext solverConfigContext)
solverConfigContext
- never nullpublic 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)
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.