com.atlassian.jira.issue.search.searchers.util
Class IssueConstantIndexedInputHelper<T extends IssueConstant>
java.lang.Object
com.atlassian.jira.issue.search.searchers.util.DefaultIndexedInputHelper<T>
com.atlassian.jira.issue.search.searchers.util.IssueConstantIndexedInputHelper<T>
- All Implemented Interfaces:
- IndexedInputHelper
public class IssueConstantIndexedInputHelper<T extends IssueConstant>
- extends DefaultIndexedInputHelper<T>
Extension of DefaultIndexedInputHelper
that knows how to create SingleValueOperand
s by resolving
ids to Issue Constant names.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueConstantIndexedInputHelper
public IssueConstantIndexedInputHelper(IndexInfoResolver<T> indexInfoResolver,
JqlOperandResolver operandResolver,
FieldFlagOperandRegistry fieldFlagOperandRegistry,
NameResolver<T> issueConstantResolver)
createSingleValueOperandFromId
protected SingleValueOperand createSingleValueOperandFromId(String stringValue)
- Description copied from class:
DefaultIndexedInputHelper
- Resolve this string representation of a navigator value (known not to be a field flag) into an operand to be used
in a clause (assuming that this is a single value operand). Override this to provide domain-specific resolution (e.g. resolve version ids to names).
- Overrides:
createSingleValueOperandFromId
in class DefaultIndexedInputHelper<T extends IssueConstant>
- Parameters:
stringValue
- the navigator value as a string e.g. 123
- Returns:
- the operand which best represents this navigator value - either a string name or the id or whatever.
Copyright © 2002-2013 Atlassian. All Rights Reserved.