Package org.codelibs.fess.helper
Class CrawlerStatsHelper.StatsKeyObject
java.lang.Object
org.codelibs.fess.helper.CrawlerStatsHelper.StatsKeyObject
- Enclosing class:
CrawlerStatsHelper
Key object for statistics tracking that contains an identifier and optional URL.
Used when tracking statistics for objects that don't have built-in URL extraction.
-
Constructor Summary
ConstructorsConstructorDescriptionStatsKeyObject(String id) Creates a new statistics key object with the specified identifier. -
Method Summary
-
Constructor Details
-
StatsKeyObject
Creates a new statistics key object with the specified identifier.- Parameters:
id- the unique identifier for this object
-
-
Method Details
-
getId
Gets the unique identifier for this statistics key object.- Returns:
- the identifier
-
setUrl
Sets the URL associated with this statistics key object.- Parameters:
url- the URL to associate with this object
-
getUrl
Gets the URL associated with this statistics key object.- Returns:
- the URL if set, otherwise returns the identifier
-