public class

DocumentIssueAggregateTimeTrackingCalculator

extends Object
implements AggregateTimeTrackingCalculator
java.lang.Object
   ↳ com.atlassian.jira.issue.util.DocumentIssueAggregateTimeTrackingCalculator

Class Overview

An implementation of AggregateTimeTrackingCalculator that is meant for DocumentIssueImpl usage.
NOTE: This will not work for IssueImpl.

Summary

Public Constructors
DocumentIssueAggregateTimeTrackingCalculator(JiraAuthenticationContext context, SearchProviderFactory searchProviderFactory, SearchProvider searchProvider, FieldManager fieldManager)
Public Methods
AggregateTimeTrackingBean getAggregates(Issue issue)
Method to retrieve a bean that contains all Aggregate Time Tracking information.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.util.AggregateTimeTrackingCalculator

Public Constructors

public DocumentIssueAggregateTimeTrackingCalculator (JiraAuthenticationContext context, SearchProviderFactory searchProviderFactory, SearchProvider searchProvider, FieldManager fieldManager)

Public Methods

public AggregateTimeTrackingBean getAggregates (Issue issue)

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.

Parameters
issue issue to calculate aggregates for
Returns
  • The bean containing all aggregate values.