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 |
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) |
protected boolean |
match(ChangeData cd,
short value,
Account.Id approver) |
protected static LabelType |
type(LabelTypes types,
java.lang.String toFind) |
copy, equals, getOperator, getValue, hashCode, toString
protected 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
com.google.gwtorm.server.OrmException
protected static LabelType type(LabelTypes types, java.lang.String toFind)
protected boolean match(ChangeData cd, short value, Account.Id approver)
public int getCost()