Class MatcherPredicate<T>

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

@Deprecated public class MatcherPredicate<T> extends Object implements com.google.common.base.Predicate<T>
Deprecated.
since 6.8, use Matcher.matches(Object) method reference directly
Predicate that is fulfilled when matcher matches the input
  • Constructor Details

    • MatcherPredicate

      public MatcherPredicate(@NotNull @NotNull org.hamcrest.Matcher<T> matcher)
      Deprecated.
  • Method Details

    • apply

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