Class EvaluateAllPredicate<T>

java.lang.Object
com.atlassian.jira.util.EvaluateAllPredicate<T>
All Implemented Interfaces:
Predicate<T>
Direct Known Subclasses:
JqlVersionPredicate

public class EvaluateAllPredicate<T> extends Object implements Predicate<T>
A predicate that checks that all the given predicates evaulate to true for the specified input. It is fail fast.
Since:
v4.0
  • Constructor Details

    • EvaluateAllPredicate

      public EvaluateAllPredicate(Predicate<T> first, Predicate<T>... predicates)
  • Method Details

    • evaluate

      public boolean evaluate(T input)
      Specified by:
      evaluate in interface Predicate<T>