Interface WebSite

  • All Known Implementing Classes:
    DefaultWebSite

    public interface WebSite
    • Method Detail

      • getUrl

        String getUrl()
        THe URL of the website to check
        Returns:
        the url of the website
      • getLastCheck

        java.time.LocalDateTime getLastCheck()
        When the content was checked last
        Returns:
        the date
      • getLastContentHash

        String getLastContentHash()
        Gets the hash of the content the last time it was checked
        Returns:
        the last hash
      • getCssSelector

        String getCssSelector()
        Specifies a css selector to check against. If this is set it will ignore WebWatcher.bodyOnly parameter
        Returns:
        the css selector
      • setUrl

        void setUrl​(String url)
      • setLastCheck

        void setLastCheck​(java.time.LocalDateTime lastCheck)
      • setLastContentHash

        void setLastContentHash​(String hash)
      • setCssSelector

        void setCssSelector​(String cssSelector)