Class RegexpMatcher

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<String>
com.atlassian.bamboo.matcher.RegexpMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<String>, org.hamcrest.SelfDescribing

public class RegexpMatcher extends org.hamcrest.TypeSafeMatcher<String>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    static org.hamcrest.Matcher<String>
    matches(String regex)
     
    static org.hamcrest.Matcher<String>
    matches(Pattern pattern)
     
    protected boolean
    matchesSafely(@NotNull String item)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, describeMismatchSafely, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, toString

    Methods inherited from class java.lang.Object

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

    • matchesSafely

      protected boolean matchesSafely(@NotNull @NotNull String item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<String>
    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • matches

      public static org.hamcrest.Matcher<String> matches(Pattern pattern)
    • matches

      public static org.hamcrest.Matcher<String> matches(String regex)