com.atlassian.jira.issue.fields
Class AggregateOriginalEstimateSystemField

java.lang.Object
  extended by com.atlassian.jira.issue.fields.AbstractField
      extended by com.atlassian.jira.issue.fields.NavigableFieldImpl
          extended by com.atlassian.jira.issue.fields.AbstractDurationSystemField
              extended by com.atlassian.jira.issue.fields.AbstractAggregateDurationSystemField
                  extended by com.atlassian.jira.issue.fields.AggregateOriginalEstimateSystemField
All Implemented Interfaces:
Field, NavigableField, RestAwareField, Comparable

public class AggregateOriginalEstimateSystemField
extends AbstractAggregateDurationSystemField

System field that displays the calculated aggregate original estimate. This adds all sub-tasks values to its own values.

Since:
v3.11

Field Summary
 
Fields inherited from class com.atlassian.jira.issue.fields.AbstractAggregateDurationSystemField
calculatorFactory
 
Fields inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
applicationProperties, velocityManager
 
Fields inherited from class com.atlassian.jira.issue.fields.AbstractField
authenticationContext
 
Fields inherited from interface com.atlassian.jira.issue.fields.NavigableField
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH
 
Constructor Summary
AggregateOriginalEstimateSystemField(com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, AggregateTimeTrackingCalculatorFactory calculatorFactory)
           
 
Method Summary
protected  Long getAggregateDuration(AggregateTimeTrackingBean bean)
          Returns the original estimate of the passed bean
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractAggregateDurationSystemField
getDuration, getSorter
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractDurationSystemField
getColumnViewHtml, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, prettyPrintChangeHistory, prettyPrintChangeHistory
 
Methods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getSortComparatorSource, getVelocityParams, renderTemplate
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractField
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKey
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

AggregateOriginalEstimateSystemField

public AggregateOriginalEstimateSystemField(com.atlassian.velocity.VelocityManager velocityManager,
                                            ApplicationProperties applicationProperties,
                                            JiraAuthenticationContext authenticationContext,
                                            AggregateTimeTrackingCalculatorFactory calculatorFactory)
Method Detail

getAggregateDuration

protected Long getAggregateDuration(AggregateTimeTrackingBean bean)
Returns the original estimate of the passed bean

Specified by:
getAggregateDuration in class AbstractAggregateDurationSystemField
Parameters:
bean - bean to get the aggregate duration from
Returns:
aggregate duration


Copyright © 2002-2012 Atlassian. All Rights Reserved.