com.atlassian.greenhopper.customfield.sprint
Class SprintEqualityQueryFactory
java.lang.Object
com.atlassian.greenhopper.customfield.sprint.SprintEqualityQueryFactory
- All Implemented Interfaces:
- GhOperatorSpecificQueryFactory
public class SprintEqualityQueryFactory
- extends java.lang.Object
- implements GhOperatorSpecificQueryFactory
Inspired by ActualValueEqualityQueryFactory
to manage the empty / not empty clause
properly.
From now, we don't insert the "null value" for the SprintCFType
in the index so we have to deal with the mechanism
ActualValueEqualityQueryFactory
provides. On the other hand, we want to deal with
actual value (sprint id) and sprint name so we can't use it directly.
- Since:
- v6.1.3
Method Summary |
com.atlassian.jira.jql.query.QueryFactoryResult |
createQueryForEmptyOperand(com.atlassian.jira.jql.query.QueryCreationContext queryCreationContext,
java.lang.String fieldName,
com.atlassian.query.operator.Operator operator)
|
com.atlassian.jira.jql.query.QueryFactoryResult |
createQueryForMultipleValues(com.atlassian.jira.jql.query.QueryCreationContext queryCreationContext,
java.lang.String fieldName,
com.atlassian.query.operator.Operator operator,
java.util.List<com.atlassian.jira.jql.operand.QueryLiteral> rawValues)
|
com.atlassian.jira.jql.query.QueryFactoryResult |
createQueryForSingleValue(com.atlassian.jira.jql.query.QueryCreationContext queryCreationContext,
java.lang.String fieldName,
com.atlassian.query.operator.Operator operator,
java.util.List<com.atlassian.jira.jql.operand.QueryLiteral> rawValues)
|
boolean |
handlesOperator(com.atlassian.query.operator.Operator operator)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SprintEqualityQueryFactory
public SprintEqualityQueryFactory(com.atlassian.jira.issue.fields.CustomField sprintCustomField,
SprintResolver sprintResolver)
createQueryForSingleValue
public com.atlassian.jira.jql.query.QueryFactoryResult createQueryForSingleValue(com.atlassian.jira.jql.query.QueryCreationContext queryCreationContext,
java.lang.String fieldName,
com.atlassian.query.operator.Operator operator,
java.util.List<com.atlassian.jira.jql.operand.QueryLiteral> rawValues)
- Specified by:
createQueryForSingleValue
in interface GhOperatorSpecificQueryFactory
- See Also:
OperatorSpecificQueryFactory.createQueryForSingleValue(String, com.atlassian.query.operator.Operator, java.util.List)
createQueryForMultipleValues
public com.atlassian.jira.jql.query.QueryFactoryResult createQueryForMultipleValues(com.atlassian.jira.jql.query.QueryCreationContext queryCreationContext,
java.lang.String fieldName,
com.atlassian.query.operator.Operator operator,
java.util.List<com.atlassian.jira.jql.operand.QueryLiteral> rawValues)
- Specified by:
createQueryForMultipleValues
in interface GhOperatorSpecificQueryFactory
- See Also:
OperatorSpecificQueryFactory.createQueryForMultipleValues(String, com.atlassian.query.operator.Operator, java.util.List)
createQueryForEmptyOperand
public com.atlassian.jira.jql.query.QueryFactoryResult createQueryForEmptyOperand(com.atlassian.jira.jql.query.QueryCreationContext queryCreationContext,
java.lang.String fieldName,
com.atlassian.query.operator.Operator operator)
- Specified by:
createQueryForEmptyOperand
in interface GhOperatorSpecificQueryFactory
- See Also:
OperatorSpecificQueryFactory.createQueryForEmptyOperand(String, com.atlassian.query.operator.Operator)
handlesOperator
public boolean handlesOperator(com.atlassian.query.operator.Operator operator)
- Specified by:
handlesOperator
in interface GhOperatorSpecificQueryFactory
- See Also:
OperatorSpecificQueryFactory.handlesOperator(com.atlassian.query.operator.Operator)
Copyright © 2007-2014 Atlassian. All Rights Reserved.