com.atlassian.bamboo.utils.predicates
Class MatcherPredicate<T>

java.lang.Object
  extended by com.atlassian.bamboo.utils.predicates.MatcherPredicate<T>
All Implemented Interfaces:
com.google.common.base.Predicate<T>

public class MatcherPredicate<T>
extends Object
implements com.google.common.base.Predicate<T>

Predicate that is fulfilled when matcher matches the input


Constructor Summary
MatcherPredicate(org.hamcrest.Matcher<T> matcher)
           
 
Method Summary
 boolean apply(T input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Constructor Detail

MatcherPredicate

public MatcherPredicate(@NotNull
                        org.hamcrest.Matcher<T> matcher)
Method Detail

apply

public boolean apply(@Nullable
                     T input)
Specified by:
apply in interface com.google.common.base.Predicate<T>


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.