Class UrlInfo

java.lang.Object
org.lockss.laaws.crawler.model.UrlInfo

@Validated public class UrlInfo extends Object
information related to an url.
  • Constructor Details

    • UrlInfo

      public UrlInfo()
  • Method Details

    • url

      public UrlInfo url(String url)
    • getUrl

      @NotNull public @NotNull String getUrl()
      The url string
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • error

      public UrlInfo error(UrlError error)
    • getError

      @Valid public @Valid UrlError getError()
      Get error
      Returns:
      error
    • setError

      public void setError(UrlError error)
    • referrers

      public UrlInfo referrers(List<String> referrers)
    • addReferrersItem

      public UrlInfo addReferrersItem(String referrersItem)
    • getReferrers

      public List<String> getReferrers()
      An optional list of referrers.
      Returns:
      referrers
    • setReferrers

      public void setReferrers(List<String> referrers)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object