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

All Known Subinterfaces:
ChangeHistoryStatisticValueResolver, DocumentStatisticValueResolver, IssueStatisticValueResolver
All Known Implementing Classes:
HistoricalEstimateStatisticValueResolver

public interface StatisticValueResolver

Used for retrieving Double values and String text representations of those values from a source (either an issue or a Lucene document string value) for a given StatisticsField.

Instances of these resolvers can be constructed using the StatisticValueResolverFactory.

See Also:
IssueStatisticValueResolver, DocumentStatisticValueResolver, StatisticValueResolverFactory

Method Summary
 StatisticsField getStatisticsField()
           
 java.lang.String getText(java.lang.Double value)
          Return a text representation of a double value which has been resolved by this resolver.
 

Method Detail

getStatisticsField

StatisticsField getStatisticsField()
Returns:
the statistics field relevant to this resolver

getText

java.lang.String getText(java.lang.Double value)
Return a text representation of a double value which has been resolved by this resolver.

Parameters:
value - the double value; may be null
Returns:
the string representation; may be null


Copyright © 2007-2013 Atlassian. All Rights Reserved.