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 Details

    • CheckResponse

      public CheckResponse()
  • Method Details

    • getValid

      public Boolean getValid()
      True, when the URL is valid, false if not
      Returns:
      true for valid
    • setValid

      public CheckResponse setValid(Boolean valid)
      Set true for valid URL, false for invalid
      Parameters:
      valid - flag
      Returns:
      fluent API
    • getReason

      public String getReason()
      Reason of failure
      Returns:
      reason
    • setReason

      public CheckResponse setReason(String reason)
      Set reason
      Parameters:
      reason - reason
      Returns:
      fluent API