org.apache.maven.scm
Class ChangeFileMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<ChangeFile>
          extended by org.apache.maven.scm.ChangeFileMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<ChangeFile>, org.hamcrest.SelfDescribing

public class ChangeFileMatcher
extends org.hamcrest.TypeSafeMatcher<ChangeFile>


Constructor Summary
ChangeFileMatcher(String fileName, org.hamcrest.Matcher<String> versionMatcher)
           
 
Method Summary
static org.hamcrest.Matcher<ChangeFile> changeFile(String fileName)
           
static org.hamcrest.Matcher<ChangeFile> changeFile(String fileName, org.hamcrest.Matcher<String> versionMatcher)
           
 void describeTo(org.hamcrest.Description desc)
           
 boolean matchesSafely(ChangeFile changeFile)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
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
 

Constructor Detail

ChangeFileMatcher

public ChangeFileMatcher(String fileName,
                         org.hamcrest.Matcher<String> versionMatcher)
Method Detail

matchesSafely

public boolean matchesSafely(ChangeFile changeFile)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<ChangeFile>

describeTo

public void describeTo(org.hamcrest.Description desc)

changeFile

public static org.hamcrest.Matcher<ChangeFile> changeFile(String fileName)

changeFile

public static org.hamcrest.Matcher<ChangeFile> changeFile(String fileName,
                                                          org.hamcrest.Matcher<String> versionMatcher)


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.