dk.netarkivet.harvester.harvesting.distribute
Class FrontierReportMessage
java.lang.Object
dk.netarkivet.common.distribute.NetarkivetMessage
dk.netarkivet.harvester.distribute.HarvesterMessage
dk.netarkivet.harvester.harvesting.distribute.FrontierReportMessage
- All Implemented Interfaces:
- java.io.Serializable
public class FrontierReportMessage
- extends HarvesterMessage
Sends a frontier report to the HarvestMonitor
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FrontierReportMessage
public FrontierReportMessage(FrontierReportFilter filter,
InMemoryFrontierReport report,
java.lang.Long jobID)
- Builds a frontier report wrapper message.
- Parameters:
filter
- the filter that generated the report.report
- the report to wrap.
accept
public void accept(HarvesterMessageVisitor v)
- Description copied from class:
HarvesterMessage
- Should be implemented as a part of the visitor pattern. fx.: public void
accept(HarvesterMessageVisitor v) { v.visit(this); }
- Specified by:
accept
in class HarvesterMessage
- Parameters:
v
- A message visitor
getFilterId
public java.lang.String getFilterId()
- Returns:
- the filter id
getReport
public InMemoryFrontierReport getReport()
- Returns:
- the report
getJobID
public java.lang.Long getJobID()