Package com.atlassian.jira.issue.fields
Class OriginalEstimateSystemField
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.AbstractDurationSystemField
com.atlassian.jira.issue.fields.OriginalEstimateSystemField
- All Implemented Interfaces:
ExportableSystemField,Field,NavigableField,RestAwareField,Comparable
-
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
ConstructorsConstructorDescriptionOriginalEstimateSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected LonggetDuration(Issue issue) getFieldSorts(FieldSort.Order sortOrder) Returns a list ofFieldSortobjects that can be used to sort this field.Returns the id of the field to check for visibility.getRepresentationFromIssue(Issue issue) For the given issue get an exportable representation for the fieldA loader to be used when loading the value of the field from the index.Methods inherited from class com.atlassian.jira.issue.fields.AbstractDurationSystemField
getColumnViewHtml, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, prettyPrintChangeHistory, prettyPrintChangeHistoryMethods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getVelocityParams, 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
-
OriginalEstimateSystemField
public OriginalEstimateSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext)
-
-
Method Details
-
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:
-
getHiddenFieldId
Description copied from interface:NavigableFieldReturns the id of the field to check for visibility. For example, with original estimate field need to ensure that the timetracking field is not hidden. With most fields, this is the same as their id.- Specified by:
getHiddenFieldIdin interfaceNavigableField- Overrides:
getHiddenFieldIdin classNavigableFieldImpl
-
getDuration
- Specified by:
getDurationin classAbstractDurationSystemField
-
getRepresentationFromIssue
Description copied from interface:ExportableSystemFieldFor the given issue get an exportable representation for the field- Specified by:
getRepresentationFromIssuein interfaceExportableSystemField- Overrides:
getRepresentationFromIssuein classAbstractDurationSystemField- Parameters:
issue- to get representation for the field- Returns:
- the fields exportable representation
-