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, RestAwareField, Comparable

public class AggregateProgressBarSystemField
extends AbstractProgressBarSystemField

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

Since:
v3.11

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.issue.fields.AbstractProgressBarSystemField
AbstractProgressBarSystemField.TimeTrackingParameters
 
Field Summary
 
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, AggregateTimeTrackingCalculatorFactory calculatorFactory, TimeTrackingGraphBeanFactory factory)
           
 
Method Summary
protected  String getDisplayId()
          Always returns 'apb'.
 LuceneFieldSorter getSorter()
          This field is not able to be sorted.
protected  AbstractProgressBarSystemField.TimeTrackingParameters getTimeTrackingGraphBeanParameters(Issue issue, I18nHelper helper)
           
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractProgressBarSystemField
calculateProgressPercentage, getColumnViewHtml, getFieldTypeInfo, getHiddenFieldId, getJsonFromIssue, getJsonSchema
 
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,
                                       AggregateTimeTrackingCalculatorFactory calculatorFactory,
                                       TimeTrackingGraphBeanFactory factory)
Method Detail

getTimeTrackingGraphBeanParameters

protected AbstractProgressBarSystemField.TimeTrackingParameters getTimeTrackingGraphBeanParameters(Issue issue,
                                                                                                   I18nHelper helper)
Specified by:
getTimeTrackingGraphBeanParameters 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-2012 Atlassian. All Rights Reserved.