com.atlassian.jira.jql.resolver
Class ResolutionIndexInfoResolver

java.lang.Object
  extended by com.atlassian.jira.jql.resolver.IssueConstantInfoResolver<Resolution>
      extended by com.atlassian.jira.jql.resolver.ResolutionIndexInfoResolver
All Implemented Interfaces:
IndexInfoResolver<Resolution>

public class ResolutionIndexInfoResolver
extends IssueConstantInfoResolver<Resolution>

Customisation of the IssueConstantInfoResolver to allow handling of the "unresolved" operand in a special case.

Since:
v4.0

Field Summary
static String QUOTED_UNRESOLVED_VALUE
           
static String UNRESOLVED_OPERAND
           
 
Constructor Summary
ResolutionIndexInfoResolver(NameResolver<Resolution> resolutionNameResolver)
           
 
Method Summary
 List<String> getIndexedValues(String singleValueOperand)
          Provides the values in the index for the operand with the given String value.
 
Methods inherited from class com.atlassian.jira.jql.resolver.IssueConstantInfoResolver
getIndexedValue, getIndexedValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNRESOLVED_OPERAND

public static final String UNRESOLVED_OPERAND
See Also:
Constant Field Values

QUOTED_UNRESOLVED_VALUE

public static final String QUOTED_UNRESOLVED_VALUE
See Also:
Constant Field Values
Constructor Detail

ResolutionIndexInfoResolver

public ResolutionIndexInfoResolver(NameResolver<Resolution> resolutionNameResolver)
Parameters:
resolutionNameResolver - the name resolver for resolutions.
Method Detail

getIndexedValues

public List<String> getIndexedValues(String singleValueOperand)
Description copied from interface: IndexInfoResolver
Provides the values in the index for the operand with the given String value.

Specified by:
getIndexedValues in interface IndexInfoResolver<Resolution>
Overrides:
getIndexedValues in class IssueConstantInfoResolver<Resolution>
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.


Copyright © 2002-2009 Atlassian. All Rights Reserved.