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

All Superinterfaces:
StatisticValueResolver

public interface ChangeHistoryStatisticValueResolver
extends StatisticValueResolver

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


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

Method Detail

getChangeItemField

java.lang.String getChangeItemField()
Returns:
the name of the field of the statistic field change items

getChangeItemValue

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

Parameters:
value - the value of the change item
valueString - the string value of the change item
Returns:
the value or null if one could not be resolved
See Also:
getChangeItemField()


Copyright © 2007-2013 Atlassian. All Rights Reserved.