public class

UserIndexInfoResolver

extends Object
implements IndexInfoResolver<T>
java.lang.Object
   ↳ com.atlassian.jira.jql.resolver.UserIndexInfoResolver

Class Overview

Index resolver that can find the index values for users.

The indexed value for a user is the user's key. WARNING: Prior to JIRA 6.0, this was always the lowercase version of the username, but this will not be true for renamed users. Plugin developers should avoid relying on the exact contents of the index value directly.

Summary

Public Constructors
UserIndexInfoResolver(NameResolver<ApplicationUser> userResolver)
Public Methods
String getIndexedValue(ApplicationUser user)
List<String> getIndexedValues(String rawValue)
Provides the values in the index for the operand with the given String value.
List<String> getIndexedValues(Long rawValue)
Provides the values in the index for the single value operand with the given Long value.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.jql.resolver.IndexInfoResolver

Public Constructors

public UserIndexInfoResolver (NameResolver<ApplicationUser> userResolver)

Public Methods

public String getIndexedValue (ApplicationUser user)

public List<String> getIndexedValues (String rawValue)

Provides the values in the index for the operand with the given String value.

Parameters
rawValue 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.

public List<String> getIndexedValues (Long rawValue)

Provides the values in the index for the single value operand with the given Long value.

Parameters
rawValue 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.