org.drools.planner.examples.common.persistence
Class XStreamSolutionDaoImpl
java.lang.Object
org.drools.planner.examples.common.persistence.XStreamSolutionDaoImpl
- All Implemented Interfaces:
- SolutionDao
- Direct Known Subclasses:
- CloudBalancingDaoImpl, CurriculumCourseDaoImpl, ExaminationDaoImpl, MachineReassignmentDaoImpl, Manners2009DaoImpl, NQueensDaoImpl, NurseRosteringDaoImpl, PatientAdmissionScheduleDaoImpl, TravelingTournamentDaoImpl, TspDaoImpl, VehicleRoutingDaoImpl
public abstract class XStreamSolutionDaoImpl
- extends Object
- implements SolutionDao
Field Summary |
protected org.slf4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient org.slf4j.Logger logger
XStreamSolutionDaoImpl
public XStreamSolutionDaoImpl(String dirName,
Class... xstreamAnnotations)
getDirName
public String getDirName()
- Specified by:
getDirName
in interface SolutionDao
getDataDir
public File getDataDir()
- Specified by:
getDataDir
in interface SolutionDao
readSolution
public Solution readSolution(File inputSolutionFile)
- Specified by:
readSolution
in interface SolutionDao
postRead
protected void postRead(Solution solution)
writeSolution
public void writeSolution(Solution solution,
File outputSolutionFile)
- Specified by:
writeSolution
in interface SolutionDao
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.