Class VersionIndexedInputHelper
java.lang.Object
com.atlassian.jira.issue.search.searchers.util.DefaultIndexedInputHelper<Version>
com.atlassian.jira.issue.search.searchers.util.VersionIndexedInputHelper
- All Implemented Interfaces:
IndexedInputHelper
Extension of
DefaultIndexedInputHelper
that knows how to create SingleValueOperand
s by resolving
ids to Version names.- Since:
- v4.0
-
Constructor Summary
ConstructorDescriptionVersionIndexedInputHelper
(IndexInfoResolver<Version> versionIndexInfoResolver, JqlOperandResolver operandResolver, FieldFlagOperandRegistry fieldFlagOperandRegistry, SearchContextVisibilityChecker searchContextVisibilityChecker, NameResolver<Version> versionResolver) Deprecated.VersionIndexedInputHelper
(IndexInfoResolver<Version> versionIndexInfoResolver, JqlOperandResolver operandResolver, FieldFlagOperandRegistry fieldFlagOperandRegistry, NameResolver<Version> versionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected SingleValueOperand
createSingleValueOperandFromId
(String stringValue) 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).Methods inherited from class com.atlassian.jira.issue.search.searchers.util.DefaultIndexedInputHelper
createOperand, getAllIndexValuesForMatchingClauses, getAllNavigatorValuesForMatchingClauses, getClauseForNavigatorValues
-
Constructor Details
-
VersionIndexedInputHelper
public VersionIndexedInputHelper(IndexInfoResolver<Version> versionIndexInfoResolver, JqlOperandResolver operandResolver, FieldFlagOperandRegistry fieldFlagOperandRegistry, NameResolver<Version> versionResolver) -
VersionIndexedInputHelper
@Deprecated public VersionIndexedInputHelper(IndexInfoResolver<Version> versionIndexInfoResolver, JqlOperandResolver operandResolver, FieldFlagOperandRegistry fieldFlagOperandRegistry, SearchContextVisibilityChecker searchContextVisibilityChecker, NameResolver<Version> versionResolver) Deprecated.
-
-
Method Details
-
createSingleValueOperandFromId
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 classDefaultIndexedInputHelper<Version>
- 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.
-