com.atlassian.greenhopper.customfield.backlog
Class BacklogSpecificRelationalOperatorQueryFactory
java.lang.Object
com.atlassian.greenhopper.customfield.backlog.jira42.AbstractOperatorQueryFactory<T>
com.atlassian.greenhopper.customfield.backlog.jira42.RelationalOperatorIdIndexValueQueryFactory<Backlog>
com.atlassian.greenhopper.customfield.backlog.BacklogSpecificRelationalOperatorQueryFactory
- All Implemented Interfaces:
- com.atlassian.jira.jql.query.OperatorSpecificQueryFactory
public class BacklogSpecificRelationalOperatorQueryFactory
- extends RelationalOperatorIdIndexValueQueryFactory<Backlog>
A relation query factory for backlog which overrides the the createPredicate method to return a predicate that
checks that the project is the same.
|
Method Summary |
protected com.atlassian.jira.util.Predicate<Backlog> |
createPredicate(com.atlassian.query.operator.Operator operator,
Backlog domainObject)
Override this method if you wish to have more than just relational operator predicate evaluation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BacklogSpecificRelationalOperatorQueryFactory
public BacklogSpecificRelationalOperatorQueryFactory(java.util.Comparator<? super Backlog> comparator,
com.atlassian.jira.jql.resolver.NameResolver<Backlog> backlogNameResolver,
com.atlassian.jira.jql.resolver.IndexInfoResolver<Backlog> backlogIndexInfoResolver)
createPredicate
protected com.atlassian.jira.util.Predicate<Backlog> createPredicate(com.atlassian.query.operator.Operator operator,
Backlog domainObject)
- Description copied from class:
RelationalOperatorIdIndexValueQueryFactory
- Override this method if you wish to have more than just relational operator predicate evaluation.
- Overrides:
createPredicate in class RelationalOperatorIdIndexValueQueryFactory<Backlog>
- Parameters:
operator - the relational operator to use in comparisonsdomainObject - the domain object as the basis of all comparisons
- Returns:
- a predicate which will exclude all domain objects that do not meet the comparison for the domain object
Copyright © 2007-2011 Atlassian. All Rights Reserved.