public class ToxTreeBatchProcessing extends ChemObjectBatchProcessing
ChemObjectBatchProcessing descendant , where processing is performed by IDecisionMethod| Modifier and Type | Field and Description |
|---|---|
protected IDecisionMethod |
decisionMethod |
protected String |
decisionMethodFile |
protected IDecisionResult |
decisionResult |
chemObject, CSV_INDEX, extensions, extensions_descr, reader, SDF_INDEX, SMI_INDEX, TXT_INDEX, writerconfigFile, 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| Constructor and Description |
|---|
ToxTreeBatchProcessing() |
ToxTreeBatchProcessing(File input,
File output) |
ToxTreeBatchProcessing(String input,
String output) |
| Modifier and Type | Method and Description |
|---|---|
IDecisionMethod |
getDecisionMethod() |
void |
processRecord() |
void |
saveConfig() |
void |
saveConfig(OutputStream out) |
void |
setDecisionMethod(IDecisionMethod decisionMethod) |
void |
start() |
void |
writeRecord() |
closeInputFile, closeOutputFile, createOutputFile, getReader, hasNextRecord, openInputFile, readRecordcancel, close, createConfigFile, equals, getConfigFile, getDateCreated, getDateLastProcessed, getInputFile, getOutputFile, getReadRecordsCount, getSaveStateFrequency, getStatus, getTempDir, getWrittenRecordsCount, isCancelled, isPaused, isRunning, isStatus, loadConfig, pause, setConfigFile, setSaveStateFrequency, setStatus, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedprotected transient IDecisionMethod decisionMethod
protected transient IDecisionResult decisionResult
protected String decisionMethodFile
public ToxTreeBatchProcessing()
public ToxTreeBatchProcessing(String input, String output) throws BatchProcessingException
input - output - BatchProcessingExceptionpublic ToxTreeBatchProcessing(File input, File output) throws BatchProcessingException
BatchProcessingExceptionpublic void processRecord()
throws BatchProcessingException
processRecord in interface IBatchProcessingprocessRecord in class ChemObjectBatchProcessingBatchProcessingExceptionpublic void writeRecord()
throws BatchProcessingException
writeRecord in interface IBatchProcessingwriteRecord in class ChemObjectBatchProcessingBatchProcessingExceptionpublic IDecisionMethod getDecisionMethod()
public void setDecisionMethod(IDecisionMethod decisionMethod)
decisionMethod - The decisionMethod to set.public void start()
throws BatchProcessingException
start in interface IBatchProcessingstart in class ChemObjectBatchProcessingBatchProcessingExceptionpublic void saveConfig()
throws BatchProcessingException
saveConfig in interface IBatchProcessingsaveConfig in class BatchProcessingBatchProcessingExceptionpublic void saveConfig(OutputStream out) throws BatchProcessingException
saveConfig in class BatchProcessingBatchProcessingExceptionCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.