public class EqualsLabelPredicate extends ChangeIndexPredicate
| Modifier and Type | Field and Description |
|---|---|
protected Account.Id |
account |
protected com.google.inject.Provider<ReviewDb> |
dbProvider |
protected int |
expVal |
protected AccountGroup.UUID |
group |
protected java.lang.String |
label |
protected PermissionBackend |
permissionBackend |
protected ProjectCache |
projectCache |
protected IdentifiedUser.GenericFactory |
userFactory |
name, value| Constructor and Description |
|---|
EqualsLabelPredicate(LabelPredicate.Args args,
java.lang.String label,
int expVal,
Account.Id account) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCost() |
boolean |
match(ChangeData object)
Does this predicate match this object?
|
protected boolean |
match(ChangeData cd,
short value,
Account.Id approver) |
protected static LabelType |
type(LabelTypes types,
java.lang.String toFind) |
getField, getTypecopy, equals, getOperator, getValue, hashCode, toStringand, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getLeafCount, isMatchable, not, or, orprotected final ProjectCache projectCache
protected final PermissionBackend permissionBackend
protected final IdentifiedUser.GenericFactory userFactory
protected final com.google.inject.Provider<ReviewDb> dbProvider
protected final java.lang.String label
protected final int expVal
protected final Account.Id account
protected final AccountGroup.UUID group
public EqualsLabelPredicate(LabelPredicate.Args args, java.lang.String label, int expVal, Account.Id account)
public boolean match(ChangeData object) throws com.google.gwtorm.server.OrmException
Matchablecom.google.gwtorm.server.OrmExceptionprotected static LabelType type(LabelTypes types, java.lang.String toFind)
protected boolean match(ChangeData cd, short value, Account.Id approver)
public int getCost()