Class NoBrokenLinks

java.lang.Object
org.hamcrest.BaseMatcher<com.jcabi.http.Response>
com.jcabi.matchers.NoBrokenLinks
All Implemented Interfaces:
org.hamcrest.Matcher<com.jcabi.http.Response>, org.hamcrest.SelfDescribing

public final class NoBrokenLinks extends org.hamcrest.BaseMatcher<com.jcabi.http.Response>
Finds broken links in HTML.
Since:
0.3.4
  • Constructor Summary

    Constructors
    Constructor
    Description
    Public ctor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    boolean
     

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NoBrokenLinks

      public NoBrokenLinks(URI uri)
      Public ctor.
      Parameters:
      uri - Home page URI, for relative links
  • Method Details

    • matches

      public boolean matches(Object item)
    • describeTo

      public void describeTo(org.hamcrest.Description description)