org.drools.planner.config
Class XmlSolverFactory

java.lang.Object
  extended by org.drools.planner.config.XmlSolverFactory

public class XmlSolverFactory
extends Object

XML based configuration that builds a Solver.


Constructor Summary
XmlSolverFactory()
           
XmlSolverFactory(String resource)
           
 
Method Summary
 void addXstreamAnnotations(Class... xstreamAnnotations)
           
 Solver buildSolver()
           
static com.thoughtworks.xstream.XStream buildXstream()
           
 XmlSolverFactory configure(InputStream in)
           
 XmlSolverFactory configure(Reader reader)
           
 XmlSolverFactory configure(String resource)
           
 SolverConfig getSolverConfig()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSolverFactory

public XmlSolverFactory()

XmlSolverFactory

public XmlSolverFactory(String resource)
Method Detail

buildXstream

public static com.thoughtworks.xstream.XStream buildXstream()

addXstreamAnnotations

public void addXstreamAnnotations(Class... xstreamAnnotations)

configure

public XmlSolverFactory configure(String resource)

configure

public XmlSolverFactory configure(InputStream in)

configure

public XmlSolverFactory configure(Reader reader)

getSolverConfig

public SolverConfig getSolverConfig()

buildSolver

public Solver buildSolver()


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.