Class IssueCountExcludingSubTasksStatisticsCallback
java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
com.atlassian.greenhopper.service.issue.callback.AbstractColumnStatisticsCallback
com.atlassian.greenhopper.service.issue.callback.IssueCountExcludingSubTasksStatisticsCallback
- All Implemented Interfaces:
IssueDataCallback,RapidIssueEntryCallbackComponent
Checks the issue type of each document against the list of parent issue types to ensure that only parent issues are
counted towards column statistics.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the lucene fields required by this componentprotected DoublegetStatisticsValue(Long issueId, String issueKey, IssueFieldValueProvider data) Compute the statistics value for this column constraint based on the document data.Methods inherited from class com.atlassian.greenhopper.service.issue.callback.AbstractColumnStatisticsCallback
fieldData, getStatisticsValuesByColumn, processFieldDataMethods inherited from class com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
fieldData, issueComplete, requiresIssueDoc
-
Constructor Details
-
IssueCountExcludingSubTasksStatisticsCallback
-
-
Method Details
-
getStatisticsValue
@Nonnull protected Double getStatisticsValue(Long issueId, String issueKey, IssueFieldValueProvider data) Description copied from class:AbstractColumnStatisticsCallbackCompute the statistics value for this column constraint based on the document data.- Specified by:
getStatisticsValuein classAbstractColumnStatisticsCallback- Parameters:
issueId- issue IDissueKey- issue Keydata- all document data- Returns:
- the value
-
getFields
Description copied from interface:RapidIssueEntryCallbackComponentGet the lucene fields required by this component- Specified by:
getFieldsin interfaceIssueDataCallback- Specified by:
getFieldsin interfaceRapidIssueEntryCallbackComponent- Overrides:
getFieldsin classAbstractColumnStatisticsCallback
-