com.atlassian.jira.bc
Class ValueMatcher<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<ServiceOutcome<T>>
          extended by com.atlassian.jira.bc.ValueMatcher<T>
All Implemented Interfaces:
org.hamcrest.Matcher<ServiceOutcome<T>>, org.hamcrest.SelfDescribing

public class ValueMatcher<T>
extends org.hamcrest.TypeSafeMatcher<ServiceOutcome<T>>

Since:
v6.2

Constructor Summary
ValueMatcher(org.hamcrest.Matcher<? super T> matcher)
           
 
Method Summary
protected  void describeMismatchSafely(ServiceOutcome<T> item, org.hamcrest.Description mismatchDescription)
           
 void describeTo(org.hamcrest.Description description)
           
protected  boolean matchesSafely(ServiceOutcome<T> item)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, 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

ValueMatcher

public ValueMatcher(org.hamcrest.Matcher<? super T> matcher)
Method Detail

matchesSafely

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

describeTo

public void describeTo(org.hamcrest.Description description)

describeMismatchSafely

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.