Class ProjectPrefixPredicate
- java.lang.Object
-
- com.google.gerrit.index.query.Predicate<T>
-
- com.google.gerrit.index.query.OperatorPredicate<I>
-
- com.google.gerrit.index.query.IndexPredicate<ChangeData>
-
- com.google.gerrit.server.query.change.ChangeIndexPredicate
-
- com.google.gerrit.server.query.change.ProjectPrefixPredicate
-
- All Implemented Interfaces:
com.google.gerrit.index.query.Matchable<ChangeData>
public class ProjectPrefixPredicate extends ChangeIndexPredicate
-
-
Constructor Summary
Constructors Constructor Description ProjectPrefixPredicate(String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCost()
boolean
match(ChangeData object)
-
Methods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, equals, getOperator, getValue, hashCode, toString
-
-
-
-
Constructor Detail
-
ProjectPrefixPredicate
public ProjectPrefixPredicate(String prefix)
-
-
Method Detail
-
match
public boolean match(ChangeData object) throws com.google.gwtorm.server.OrmException
- Throws:
com.google.gwtorm.server.OrmException
-
getCost
public int getCost()
-
-