com.atlassian.jira.issue.statistics.util
Class HitCollectorUtil

java.lang.Object
  extended by com.atlassian.jira.issue.statistics.util.HitCollectorUtil

public class HitCollectorUtil
extends Object

Has some utility methods that the hit collectors can use.

Since:
v4.0

Constructor Summary
HitCollectorUtil()
           
 
Method Summary
 String getFieldId(String documentConstant)
          Translates between a known set of document id's to field id's that can be used to check visiblity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HitCollectorUtil

public HitCollectorUtil()
Method Detail

getFieldId

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.