public final class HarvestFinishedEvent extends AbstractSucceededOrFailedEvent
| Constructor and Description |
|---|
HarvestFinishedEvent(boolean isSuccessful,
String documentChecksum)
Constructor that sets up the payload and uses the current time as the end timestamp.
|
HarvestFinishedEvent(boolean isSuccessful,
String documentChecksum,
long timestamp)
Constructor that sets up the payload and allows the current time as the end timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getDocumentChecksum()
Returns a hash value over all harvested documents.
|
long |
getEndTimestamp()
Returns the unix timestamp at which the event was created.
|
int |
hashCode() |
String |
toString() |
isSuccessfulpublic HarvestFinishedEvent(boolean isSuccessful,
String documentChecksum)
isSuccessful - true if the harvest finished successfullydocumentChecksum - a hash value over all harvested documentspublic HarvestFinishedEvent(boolean isSuccessful,
String documentChecksum,
long timestamp)
isSuccessful - true if the harvest finished successfullydocumentChecksum - a hash value over all harvested documentstimestamp - the time at which the harvest endedpublic String getDocumentChecksum()
public long getEndTimestamp()
protected boolean canEqual(Object other)
Copyright © 2017–2019. All rights reserved.