toxTree.io.batch
Class ToxTreeBatchProcessing
java.lang.Object
java.util.Observable
toxTree.io.batch.BatchProcessing
toxTree.io.batch.ChemObjectBatchProcessing
toxTree.io.batch.ToxTreeBatchProcessing
- All Implemented Interfaces:
- java.io.Serializable, IBatchProcessing
public class ToxTreeBatchProcessing
- extends ChemObjectBatchProcessing
A ChemObjectBatchProcessing
descendant , where processing is performed by IDecisionMethod
- Author:
- Nina Jeliazkova
Modified 2008-3-22
- See Also:
- Serialized Form
Fields inherited from class toxTree.io.batch.BatchProcessing |
configFile, dateCreated, dateLastSaved, deleteConfigOnSuccess, inputFile, logger, MSG_CANTCREATEFILE, MSG_ERRORCOUNTING, MSG_ERRORSAVE, MSG_FILEDONOTEXISTS, MSG_OPEN, MSG_UNSUPPORTEDFORMAT, outputFile, saveStateFrequency, status, STATUS_ABORTED, STATUS_FINISHED, STATUS_NOTINITIALIZED, STATUS_NOTSTARTED, STATUS_PAUSED, STATUS_RUNNING, statusMsg, tmpDir |
Methods inherited from class toxTree.io.batch.BatchProcessing |
cancel, close, createConfigFile, equals, getConfigFile, getDateCreated, getDateLastProcessed, getInputFile, getOutputFile, getReadRecordsCount, getSaveStateFrequency, getStatus, getTempDir, getWrittenRecordsCount, isCancelled, isPaused, isRunning, isStatus, loadConfig, pause, setConfigFile, setSaveStateFrequency, setStatus, toString |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
decisionMethod
protected transient IDecisionMethod decisionMethod
decisionResult
protected IDecisionResult decisionResult
decisionMethodFile
protected java.lang.String decisionMethodFile
ToxTreeBatchProcessing
public ToxTreeBatchProcessing()
ToxTreeBatchProcessing
public ToxTreeBatchProcessing(java.lang.String input,
java.lang.String output)
throws BatchProcessingException
- Parameters:
input
- output
-
- Throws:
BatchProcessingException
ToxTreeBatchProcessing
public ToxTreeBatchProcessing(java.io.File input,
java.io.File output)
throws BatchProcessingException
- Throws:
BatchProcessingException
processRecord
public void processRecord()
throws BatchProcessingException
- Specified by:
processRecord
in interface IBatchProcessing
- Overrides:
processRecord
in class ChemObjectBatchProcessing
- Throws:
BatchProcessingException
writeRecord
public void writeRecord()
throws BatchProcessingException
- Specified by:
writeRecord
in interface IBatchProcessing
- Overrides:
writeRecord
in class ChemObjectBatchProcessing
- Throws:
BatchProcessingException
getDecisionMethod
public IDecisionMethod getDecisionMethod()
- Returns:
- Returns the decisionMethod.
setDecisionMethod
public void setDecisionMethod(IDecisionMethod decisionMethod)
- Parameters:
decisionMethod
- The decisionMethod to set.
start
public void start()
throws BatchProcessingException
- Specified by:
start
in interface IBatchProcessing
- Overrides:
start
in class ChemObjectBatchProcessing
- Throws:
BatchProcessingException
saveConfig
public void saveConfig()
throws BatchProcessingException
- Specified by:
saveConfig
in interface IBatchProcessing
- Overrides:
saveConfig
in class BatchProcessing
- Throws:
BatchProcessingException
saveConfig
public void saveConfig(java.io.OutputStream out)
throws BatchProcessingException
- Overrides:
saveConfig
in class BatchProcessing
- Throws:
BatchProcessingException
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.