com.atlassian.jira.bc
Class ServiceOutcomeMatchers

java.lang.Object
  extended by com.atlassian.jira.bc.ServiceOutcomeMatchers

public class ServiceOutcomeMatchers
extends Object

Static factory for matchers that work with the ServiceOutcome.


Method Summary
static
<T> ValueMatcher<T>
equalTo(org.hamcrest.Matcher<? super T> matcher)
           
static
<T> ValueMatcher<T>
equalTo(T value)
           
static ErrorMatcher errorMatcher()
           
static ErrorMatcher errorMatcher(String key, String value, ErrorCollection.Reason reason)
           
static ErrorMatcher noError()
           
static
<T> ValueMatcher<T>
nullValue(Class<T> value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equalTo

public static <T> ValueMatcher<T> equalTo(T value)

nullValue

public static <T> ValueMatcher<T> nullValue(Class<T> value)

equalTo

public static <T> ValueMatcher<T> equalTo(org.hamcrest.Matcher<? super T> matcher)

errorMatcher

public static ErrorMatcher errorMatcher()

noError

public static ErrorMatcher noError()

errorMatcher

public static ErrorMatcher errorMatcher(String key,
                                        String value,
                                        ErrorCollection.Reason reason)


Copyright © 2002-2014 Atlassian. All Rights Reserved.