Package com.atlassian.jira.issue.fields
Class ProgressBarSystemField
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.AbstractProgressBarSystemField
com.atlassian.jira.issue.fields.ProgressBarSystemField
- All Implemented Interfaces:
Field,NavigableField,RestAwareField,Comparable
Field that displays a progress bar in the Navigator
-
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, templatingEngineFields inherited from class com.atlassian.jira.issue.fields.AbstractField
authenticationContextFields inherited from interface com.atlassian.jira.issue.fields.NavigableField
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH -
Constructor Summary
ConstructorsConstructorDescriptionProgressBarSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, TimeTrackingGraphBeanFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringAlways returns 'dpb'.getFieldSorts(FieldSort.Order sortOrder) Returns a list ofFieldSortobjects that can be used to sort this field.getTimeTrackingGraphBeanParameters(Issue issue, I18nHelper helper) A loader to be used when loading the value of the field from the index.Methods inherited from class com.atlassian.jira.issue.fields.AbstractProgressBarSystemField
calculateProgressPercentage, getColumnViewHtml, getFieldTypeInfo, getHiddenFieldId, getJsonFromIssue, getJsonSchemaMethods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getVelocityParams, prettyPrintChangeHistory, prettyPrintChangeHistory, renderTemplateMethods inherited from class com.atlassian.jira.issue.fields.AbstractField
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKeyMethods inherited from interface com.atlassian.jira.issue.fields.NavigableField
hasSortsDefined, prettyPrintChangeHistory
-
Constructor Details
-
ProgressBarSystemField
public ProgressBarSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, TimeTrackingGraphBeanFactory factory)
-
-
Method Details
-
getTimeTrackingGraphBeanParameters
protected AbstractProgressBarSystemField.TimeTrackingParameters getTimeTrackingGraphBeanParameters(Issue issue, I18nHelper helper) - Specified by:
getTimeTrackingGraphBeanParametersin classAbstractProgressBarSystemField
-
getDisplayId
Always returns 'dpb'.- Specified by:
getDisplayIdin classAbstractProgressBarSystemField- Returns:
- always returns 'dpb'
-
getFieldSorts
Description copied from interface:NavigableFieldReturns a list ofFieldSortobjects that can be used to sort this field.- Parameters:
sortOrder- the order in which to sort the field- Returns:
- a list of
FieldSortobjects that can be used to sort this field
-
getValueLoader
Description copied from interface:NavigableFieldA loader to be used when loading the value of the field from the index.- Returns:
- A loader that can be used to load the value of the field
- See Also:
-