com.atlassian.jira.issue.fields
Class AggregateProgressBarSystemField

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.AbstractProgressBarSystemField
              extended by com.atlassian.jira.issue.fields.AggregateProgressBarSystemField
All Implemented Interfaces:
Field, NavigableField, Comparable

public class AggregateProgressBarSystemField
extends AbstractProgressBarSystemField

Progress Bar System Field that uses the aggregate values for percentages.

Since:
v3.11

Field Summary
 
Fields inherited from class com.atlassian.jira.issue.fields.AbstractProgressBarSystemField
jiraDurationUtils
 
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
AggregateProgressBarSystemField(com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, JiraDurationUtils jiraDurationUtils, AggregateTimeTrackingCalculatorFactory calculatorFactory)
           
 
Method Summary
protected  String getDisplayId()
          Always returns 'apb'.
protected  Long getOriginalEstimate(Issue issue)
           
protected  Long getRemainingEstimate(Issue issue)
           
 LuceneFieldSorter getSorter()
          This field is not able to be sorted.
protected  Long getTimeSpent(Issue issue)
           
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractProgressBarSystemField
calculateProgressPercentage, getColumnViewHtml, getHiddenFieldId
 
Methods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getSortComparatorSource, getVelocityParams, prettyPrintChangeHistory, prettyPrintChangeHistory, 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

AggregateProgressBarSystemField

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

getRemainingEstimate

protected Long getRemainingEstimate(Issue issue)
Specified by:
getRemainingEstimate in class AbstractProgressBarSystemField

getOriginalEstimate

protected Long getOriginalEstimate(Issue issue)
Specified by:
getOriginalEstimate in class AbstractProgressBarSystemField

getTimeSpent

protected Long getTimeSpent(Issue issue)
Specified by:
getTimeSpent in class AbstractProgressBarSystemField

getDisplayId

protected String getDisplayId()
Always returns 'apb'.

Specified by:
getDisplayId in class AbstractProgressBarSystemField
Returns:
always returns 'apb'

getSorter

public LuceneFieldSorter getSorter()
This field is not able to be sorted.

Returns:
always returns null
See Also:
DocumentIssueImpl, MappedSortComparator


Copyright © 2002-2008 Atlassian. All Rights Reserved.