Package com.atlassian.jira.issue.fields
Class TimeEstimateSystemField
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.TimeEstimateSystemField
- 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
ConstructorsConstructorDescriptionTimeEstimateSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected LonggetDuration(Issue issue) Returns the id of the field to check for visibility.A sorter to be used when sorting columns in a table.Methods inherited from class com.atlassian.jira.issue.fields.AbstractDurationSystemField
getColumnViewHtml, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getRepresentationFromIssue, prettyPrintChangeHistory, prettyPrintChangeHistoryMethods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getSortComparatorSource, getSortFields, 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
prettyPrintChangeHistory
-
Constructor Details
-
TimeEstimateSystemField
public TimeEstimateSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext)
-
-
Method Details
-
getSorter
Description copied from interface:NavigableFieldA sorter to be used when sorting columns in a table. This sort uses the Lucene Document Collection and is therefore a lot faster than sorting the issues in memory.- Returns:
- A sorter that can be used to sort this field, or null depending on the value of
NavigableField.getSortComparatorSource() - 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
-