Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.common.persistence
Class AbstractSolutionExporter

java.lang.Object
  extended by org.drools.planner.examples.common.app.LoggingMain
      extended by org.drools.planner.examples.common.persistence.AbstractSolutionExporter
Direct Known Subclasses:
AbstractTxtSolutionExporter, AbstractXmlSolutionExporter

public abstract class AbstractSolutionExporter
extends LoggingMain


Field Summary
protected  SolutionDao solutionDao
           
 
Fields inherited from class org.drools.planner.examples.common.app.LoggingMain
logger
 
Constructor Summary
AbstractSolutionExporter(SolutionDao solutionDao)
           
 
Method Summary
 void convertAll()
           
protected  File getInputDir()
           
protected  String getInputFileSuffix()
           
protected  File getOutputDir()
           
protected abstract  String getOutputFileSuffix()
           
abstract  void writeSolution(Solution solution, File outputFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

solutionDao

protected SolutionDao solutionDao
Constructor Detail

AbstractSolutionExporter

public AbstractSolutionExporter(SolutionDao solutionDao)
Method Detail

getInputDir

protected File getInputDir()

getOutputDir

protected File getOutputDir()

getInputFileSuffix

protected String getInputFileSuffix()

getOutputFileSuffix

protected abstract String getOutputFileSuffix()

convertAll

public void convertAll()

writeSolution

public abstract void writeSolution(Solution solution,
                                   File outputFile)

Drools Planner distribution 6.0.0.Alpha9

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