Class Matcher<T>

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
org.jenkinsci.test.acceptance.Matcher<T>
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public abstract class Matcher<T> extends org.hamcrest.TypeSafeMatcher<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Matcher(String format, Object... args)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeMismatchSafely(T item, org.hamcrest.Description mismatchDescription)
     
    final void
    describeTo(org.hamcrest.Description description)
     
    final String
     
    abstract boolean
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

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

  • Method Details

    • describeTo

      public final void describeTo(org.hamcrest.Description description)
    • getDescription

      public final String getDescription()
    • matchesSafely

      public abstract boolean matchesSafely(T item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<T>
    • describeMismatchSafely

      public void describeMismatchSafely(T item, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<T>