Class RegexProjectPredicate
- java.lang.Object
 - 
- com.google.gerrit.index.query.Predicate<T>
 - 
- com.google.gerrit.index.query.OperatorPredicate<I>
 - 
- com.google.gerrit.index.query.IndexPredicate<I>
 - 
- com.google.gerrit.index.query.RegexPredicate<ChangeData>
 - 
- com.google.gerrit.server.query.change.ChangeRegexPredicate
 - 
- com.google.gerrit.server.query.change.RegexProjectPredicate
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Matchable<ChangeData>
public class RegexProjectPredicate extends ChangeRegexPredicate
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected dk.brics.automaton.RunAutomatonpattern- 
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RegexProjectPredicate(String re) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCost()booleanmatch(ChangeData object)Does this predicate match this object?- 
Methods inherited from class com.google.gerrit.index.query.IndexPredicate
getField, getType 
- 
Methods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, equals, getOperator, getValue, hashCode, toString 
- 
Methods inherited from class com.google.gerrit.index.query.Predicate
and, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getLeafCount, isMatchable, not, or, or 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
RegexProjectPredicate
public RegexProjectPredicate(String re)
 
 - 
 
- 
Method Detail
- 
match
public boolean match(ChangeData object)
Description copied from interface:MatchableDoes this predicate match this object? 
- 
getCost
public int getCost()
- Returns:
 - a cost estimate to run this predicate, higher figures cost more.
 
 
 - 
 
 -