Package com.atlassian.jira.issue.util
Class DocumentIssueAggregateTimeTrackingCalculator
java.lang.Object
com.atlassian.jira.issue.util.DocumentIssueAggregateTimeTrackingCalculator
- All Implemented Interfaces:
AggregateTimeTrackingCalculator
public class DocumentIssueAggregateTimeTrackingCalculator
extends Object
implements AggregateTimeTrackingCalculator
An implementation of
NOTE: This will not work for
AggregateTimeTrackingCalculator
that is meant for
DocumentIssueImpl
usage.
NOTE: This will not work for
IssueImpl
.- Since:
- v3.11
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentIssueAggregateTimeTrackingCalculator
(JiraAuthenticationContext context, SearchProvider searchProvider, FieldManager fieldManager) -
Method Summary
Modifier and TypeMethodDescriptiongetAggregates
(Issue issue) Method to retrieve a bean that contains all Aggregate Time Tracking information.
-
Constructor Details
-
DocumentIssueAggregateTimeTrackingCalculator
public DocumentIssueAggregateTimeTrackingCalculator(JiraAuthenticationContext context, SearchProvider searchProvider, FieldManager fieldManager)
-
-
Method Details
-
getAggregates
Description copied from interface:AggregateTimeTrackingCalculator
Method to retrieve a bean that contains all Aggregate Time Tracking information. An aggregate in considered the value of the sub-task values plus the issue's own value.- Specified by:
getAggregates
in interfaceAggregateTimeTrackingCalculator
- Parameters:
issue
- issue to calculate aggregates for- Returns:
- The bean containing all aggregate values.
-