public class BaseCrawlData extends Object implements ICrawlData
ICrawlData
with a default state of NEW.Constructor and Description |
---|
BaseCrawlData()
Constructor.
|
BaseCrawlData(String reference) |
Modifier and Type | Method and Description |
---|---|
ICrawlData |
clone()
Clones this reference.
|
boolean |
equals(Object other) |
String |
getContentChecksum()
Gets the content checksum.
|
ContentType |
getContentType()
Gets the content type.
|
Date |
getCrawlDate()
Gets the crawl date.
|
String |
getMetaChecksum() |
String |
getParentRootReference() |
String |
getReference()
Gets the unique identifier of this reference (e.g.
|
CrawlState |
getState()
Gets this reference state.
|
int |
hashCode() |
boolean |
isRootParentReference() |
void |
setContentChecksum(String contentChecksum)
Sets the content checksum.
|
void |
setContentType(ContentType contentType)
Sets the content type.
|
void |
setCrawlDate(Date crawlDate)
Sets the crawl date.
|
void |
setMetaChecksum(String metaChecksum) |
void |
setParentRootReference(String parentRootReference) |
void |
setReference(String reference) |
void |
setRootParentReference(boolean isRootParentReference) |
void |
setState(CrawlState state) |
String |
toString() |
public BaseCrawlData()
public BaseCrawlData(String reference)
public String getReference()
ICrawlData
getReference
in interface ICrawlData
public void setReference(String reference)
public String getParentRootReference()
getParentRootReference
in interface ICrawlData
public void setParentRootReference(String parentRootReference)
public boolean isRootParentReference()
isRootParentReference
in interface ICrawlData
public void setRootParentReference(boolean isRootParentReference)
public CrawlState getState()
ICrawlData
getState
in interface ICrawlData
public void setState(CrawlState state)
public String getMetaChecksum()
getMetaChecksum
in interface ICrawlData
public void setMetaChecksum(String metaChecksum)
public String getContentChecksum()
getContentChecksum
in interface ICrawlData
public void setContentChecksum(String contentChecksum)
contentChecksum
- content checksumpublic ContentType getContentType()
getContentType
in interface ICrawlData
public void setContentType(ContentType contentType)
contentType
- the content typepublic Date getCrawlDate()
getCrawlDate
in interface ICrawlData
public void setCrawlDate(Date crawlDate)
crawlDate
- the crawl datepublic ICrawlData clone()
ICrawlData
clone
in interface ICrawlData
clone
in class Object
Copyright © 2014–2021 Norconex Inc.. All rights reserved.