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:
-
Method Summary
Modifier and TypeMethodDescriptionReturn a text representation of a double value which has been resolved by this resolver.
-
Method Details
-
getStatisticsField
StatisticsField getStatisticsField()- Returns:
- the statistics field relevant to this resolver
-
getText
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
-