com.lordofthejars.nosqlunit.redis.embedded
Class MatchesGlobRegexpMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<String>
          extended by com.lordofthejars.nosqlunit.redis.embedded.MatchesGlobRegexpMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<String>, org.hamcrest.SelfDescribing

public class MatchesGlobRegexpMatcher
extends org.hamcrest.TypeSafeMatcher<String>


Field Summary
protected  String regex
           
 
Constructor Summary
MatchesGlobRegexpMatcher(String regex)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
static org.hamcrest.Matcher<String> matches(String regex)
           
protected  boolean matchesSafely(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
 

Field Detail

regex

protected final String regex
Constructor Detail

MatchesGlobRegexpMatcher

public MatchesGlobRegexpMatcher(String regex)
Method Detail

describeTo

public void describeTo(org.hamcrest.Description description)

matchesSafely

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

matches

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


Copyright © 2012. All Rights Reserved.