public class IssueConstantInfoResolver<T extends IssueConstant> extends Object implements IndexInfoResolver<T>
Constructor and Description |
---|
IssueConstantInfoResolver(NameResolver<T> resolver) |
Modifier and Type | Method and Description |
---|---|
String |
getIndexedValue(T indexedObject)
Gets an indexed value from a domain object.
|
List<String> |
getIndexedValues(Long singleValueOperand)
Provides the values in the index for the single value operand with the given Long value.
|
List<String> |
getIndexedValues(String singleValueOperand)
Provides the values in the index for the operand with the given String value.
|
public IssueConstantInfoResolver(NameResolver<T> resolver)
resolver
- the name resolver to look up the id if necessary.public List<String> getIndexedValues(String singleValueOperand)
IndexInfoResolver
getIndexedValues
in interface IndexInfoResolver<T extends IssueConstant>
singleValueOperand
- the value whose indexed term equivalent is to be returned.public List<String> getIndexedValues(Long singleValueOperand)
IndexInfoResolver
getIndexedValues
in interface IndexInfoResolver<T extends IssueConstant>
singleValueOperand
- the value whose indexed term equivalent is to be returned.public String getIndexedValue(T indexedObject)
IndexInfoResolver
getIndexedValue
in interface IndexInfoResolver<T extends IssueConstant>
indexedObject
- the domain object. Does not accept null.Copyright © 2002-2019 Atlassian. All Rights Reserved.