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 Double
getStatisticsValue
(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, processFieldData
Methods 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:AbstractColumnStatisticsCallback
Compute the statistics value for this column constraint based on the document data.- Specified by:
getStatisticsValue
in classAbstractColumnStatisticsCallback
- Parameters:
issueId
- issue IDissueKey
- issue Keydata
- all document data- Returns:
- the value
-
getFields
Description copied from interface:RapidIssueEntryCallbackComponent
Get the lucene fields required by this component- Specified by:
getFields
in interfaceIssueDataCallback
- Specified by:
getFields
in interfaceRapidIssueEntryCallbackComponent
- Overrides:
getFields
in classAbstractColumnStatisticsCallback
-