com.atlassian.greenhopper.web.rapid.issue.statistics
Interface DocumentStatisticValueResolver

All Superinterfaces:
StatisticValueResolver

public interface DocumentStatisticValueResolver
extends StatisticValueResolver

Used for retrieving the value of the "estimation statistic" from a Lucene document (map of String values).


Method Summary
 java.lang.String getDocumentId()
           
 java.lang.Double getValue(java.lang.String documentValue)
          Get the value represented by the string.
 
Methods inherited from interface com.atlassian.greenhopper.web.rapid.issue.statistics.StatisticValueResolver
getStatisticsField, getText
 

Method Detail

getDocumentId

java.lang.String getDocumentId()
Returns:
the document ID that this value resolver is concerned with

getValue

java.lang.Double getValue(java.lang.String documentValue)
Get the value represented by the string. String may be null or blank, or invalid.

Parameters:
documentValue - the value
Returns:
the value or null if one could not be resolved
See Also:
StatisticValueResolver.getStatisticsField()


Copyright © 2007-2014 Atlassian. All Rights Reserved.