Class CheckResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.linkchecker.CheckResponse
- All Implemented Interfaces:
Serializable
public class CheckResponse
extends com.gentics.contentnode.rest.model.response.GenericResponse
Response containing the check result
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReason of failuregetValid()
True, when the URL is valid, false if notSet reasonSet true for valid URL, false for invalidMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
CheckResponse
public CheckResponse()
-
-
Method Details
-
getValid
True, when the URL is valid, false if not- Returns:
- true for valid
-
setValid
Set true for valid URL, false for invalid- Parameters:
valid
- flag- Returns:
- fluent API
-
getReason
Reason of failure- Returns:
- reason
-
setReason
Set reason- Parameters:
reason
- reason- Returns:
- fluent API
-