Package com.atlassian.jira.jql.resolver
Class IssueConstantInfoResolver<T extends IssueConstant>
java.lang.Object
com.atlassian.jira.jql.resolver.IssueConstantInfoResolver<T>
- All Implemented Interfaces:
IndexInfoResolver<T>
- Direct Known Subclasses:
ResolutionIndexInfoResolver
public class IssueConstantInfoResolver<T extends IssueConstant>
extends Object
implements IndexInfoResolver<T>
Resolves a domain object
<T>'s id from its name using a
NameResolver.- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIndexedValue(T indexedObject) Gets an indexed value from a domain object.getIndexedValues(Long singleValueOperand) Provides the values in the index for the single value operand with the given Long value.getIndexedValues(String singleValueOperand) Provides the values in the index for the operand with the given String value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.jql.resolver.IndexInfoResolver
getIndexedValues
-
Constructor Details
-
IssueConstantInfoResolver
- Parameters:
resolver- the name resolver to look up the id if necessary.
-
-
Method Details
-
getIndexedValues
Description copied from interface:IndexInfoResolverProvides the values in the index for the operand with the given String value.- Specified by:
getIndexedValuesin interfaceIndexInfoResolver<T extends IssueConstant>- Parameters:
singleValueOperand- the value whose indexed term equivalent is to be returned.- Returns:
- the values to put or search for in the index, possibly empty, never containing null.
-
getIndexedValues
Description copied from interface:IndexInfoResolverProvides the values in the index for the single value operand with the given Long value.- Specified by:
getIndexedValuesin interfaceIndexInfoResolver<T extends IssueConstant>- Parameters:
singleValueOperand- the value whose indexed term equivalent is to be returned.- Returns:
- the values to put or search for in the index, possibly empty, never containing null.
-
getIndexedValue
Description copied from interface:IndexInfoResolverGets an indexed value from a domain object.- Specified by:
getIndexedValuein interfaceIndexInfoResolver<T extends IssueConstant>- Parameters:
indexedObject- the domain object. Does not accept null.- Returns:
- the indexed value.
-