public class

HitCollectorUtil

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.statistics.util.HitCollectorUtil

Class Overview

Has some utility methods that the hit collectors can use.

Summary

Public Constructors
HitCollectorUtil()
Public Methods
String getFieldId(String documentConstant)
Translates between a known set of document id's to field id's that can be used to check visiblity.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public HitCollectorUtil ()

Public Methods

public String getFieldId (String documentConstant)

Translates between a known set of document id's to field id's that can be used to check visiblity. This method will turn any custom field id's such as customfield_10000_RAW into customfield_10000.

Parameters
documentConstant the value to transform into a field id
Returns
  • the field id for the passed document constant