Class FrontierReportMessage
- java.lang.Object
-
- dk.netarkivet.common.distribute.NetarkivetMessage
-
- dk.netarkivet.harvester.distribute.HarvesterMessage
-
- dk.netarkivet.harvester.harvesting.distribute.FrontierReportMessage
-
- All Implemented Interfaces:
Serializable
public class FrontierReportMessage extends HarvesterMessage
Sends a frontier report to theHarvestMonitor
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class dk.netarkivet.common.distribute.NetarkivetMessage
replyOfId
-
-
Constructor Summary
Constructors Constructor Description FrontierReportMessage(FrontierReportFilter filter, InMemoryFrontierReport report, Long jobID)
Builds a frontier report wrapper message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(HarvesterMessageVisitor v)
Should be implemented as a part of the visitor pattern.String
getFilterId()
Long
getJobID()
InMemoryFrontierReport
getReport()
-
Methods inherited from class dk.netarkivet.common.distribute.NetarkivetMessage
getErrMsg, getID, getReplyOfId, getReplyTo, getTo, hasBeenSent, isOk, setNotOk, setNotOk, toString
-
-
-
-
Constructor Detail
-
FrontierReportMessage
public FrontierReportMessage(FrontierReportFilter filter, InMemoryFrontierReport report, Long jobID)
Builds a frontier report wrapper message.- Parameters:
filter
- the filter that generated the report.report
- the report to wrap.
-
-
Method Detail
-
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 classHarvesterMessage
- Parameters:
v
- A message visitor
-
getFilterId
public String getFilterId()
- Returns:
- the filter id
-
getReport
public InMemoryFrontierReport getReport()
- Returns:
- the report
-
getJobID
public Long getJobID()
-
-