edu.ucsb.nceas.metacat.harvesterClient
Class HarvestDetailLog
java.lang.Object
edu.ucsb.nceas.metacat.harvesterClient.HarvestDetailLog
- public class HarvestDetailLog
- extends java.lang.Object
HarvestDetailLog manages data and operations corresponding to the
HARVEST_DETAIL_LOG table. It records errors encountered while attempting
to harvest a particular EML document.
- Author:
- costa
Constructor Summary |
HarvestDetailLog(Harvester harvester,
java.sql.Connection conn,
int detailLogID,
int harvestLogID,
HarvestDocument harvestDocument,
java.lang.String errorMessage)
Creates a new instance of HarvestDetailLog and inserts the data into
the HARVEST_DETAIL_LOG table. |
Method Summary |
void |
printOutput(java.io.PrintStream out)
Prints the contents of this HarvestLog object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HarvestDetailLog
public HarvestDetailLog(Harvester harvester,
java.sql.Connection conn,
int detailLogID,
int harvestLogID,
HarvestDocument harvestDocument,
java.lang.String errorMessage)
- Creates a new instance of HarvestDetailLog and inserts the data into
the HARVEST_DETAIL_LOG table.
- Parameters:
harvester
- the Harvester parent objectconn
- the database connectiondetailLogID
- primary key in the HARVEST_LOG tableharvestLogID
- foreign key value matching the HARVEST_LOG tableharvestDocument
- HarvestDocument object that generated an errorerrorMessage
- text of the error message
printOutput
public void printOutput(java.io.PrintStream out)
- Prints the contents of this HarvestLog object. Used in generating reports.
- Parameters:
out
- the PrintStream to write to
Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.