Class ParentProjectPredicate
- java.lang.Object
-
- com.google.gerrit.index.query.Predicate<T>
-
- com.google.gerrit.index.query.OrPredicate<ChangeData>
-
- com.google.gerrit.server.query.change.ParentProjectPredicate
-
- All Implemented Interfaces:
Matchable<ChangeData>
public class ParentProjectPredicate extends OrPredicate<ChangeData>
-
-
Constructor Summary
Constructors Constructor Description ParentProjectPredicate(ProjectCache projectCache, ChildProjects childProjects, String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static com.google.common.collect.ImmutableList<Predicate<ChangeData>>
predicates(ProjectCache projectCache, ChildProjects childProjects, String value)
String
toString()
-
Methods inherited from class com.google.gerrit.index.query.OrPredicate
copy, equals, getChild, getChildCount, getChildren, getCost, hashCode, isMatchable, match
-
Methods inherited from class com.google.gerrit.index.query.Predicate
and, and, any, asMatchable, estimateCost, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, not, or, or, supportedForQueries
-
-
-
-
Field Detail
-
value
protected final String value
-
-
Constructor Detail
-
ParentProjectPredicate
public ParentProjectPredicate(ProjectCache projectCache, ChildProjects childProjects, String value)
-
-
Method Detail
-
predicates
protected static com.google.common.collect.ImmutableList<Predicate<ChangeData>> predicates(ProjectCache projectCache, ChildProjects childProjects, String value)
-
toString
public String toString()
- Overrides:
toString
in classOrPredicate<ChangeData>
-
-