Class ExternalLinkStatistics
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.linkchecker.ExternalLinkStatistics
- All Implemented Interfaces:
Serializable
public class ExternalLinkStatistics
extends com.gentics.contentnode.rest.model.response.GenericResponse
Response containing LinkChecker statistics
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Number of unvalid external linksint
Timestamp of last successful run of the link checkerint
Number of unchecked external linksint
getValid()
Number of valid external linkssetInvalid
(int invalid) Set number of invalid linkssetLastRun
(int lastRun) Set timestamp of last runsetUnchecked
(int unchecked) Set number of unchecked linkssetValid
(int valid) Set number of valid linksMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
ExternalLinkStatistics
public ExternalLinkStatistics()
-
-
Method Details
-
getLastRun
public int getLastRun()Timestamp of last successful run of the link checker- Returns:
- timestamp
-
setLastRun
Set timestamp of last run- Parameters:
lastRun
- timestamp- Returns:
- fluent API
-
getValid
public int getValid()Number of valid external links- Returns:
- valid links
-
setValid
Set number of valid links- Parameters:
valid
- number- Returns:
- fluent API
-
getInvalid
public int getInvalid()Number of unvalid external links- Returns:
- invalid links
-
setInvalid
Set number of invalid links- Parameters:
invalid
- number- Returns:
- fluent API
-
getUnchecked
public int getUnchecked()Number of unchecked external links- Returns:
- unchecked links
-
setUnchecked
Set number of unchecked links- Parameters:
unchecked
- number- Returns:
- fluent API
-