public abstract class AbstractAggregateDurationSystemField extends AbstractDurationSystemField
AggregateTimeTrackingBean and provides a simple plugin point for
aggregate fields.| Modifier and Type | Field and Description |
|---|---|
protected AggregateTimeTrackingCalculatorFactory |
calculatorFactory |
applicationProperties, templatingEngineauthenticationContextORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH| Constructor and Description |
|---|
AbstractAggregateDurationSystemField(String id,
String nameKey,
String columnHeadingKey,
String defaultSortOrder,
Comparator comparator,
VelocityTemplatingEngine templatingEngine,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
AggregateTimeTrackingCalculatorFactory calculatorFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Long |
getAggregateDuration(AggregateTimeTrackingBean bean)
Method to extract the appropriate value from the aggregate bean.
|
protected Long |
getDuration(Issue issue) |
LuceneFieldSorter |
getSorter()
Aggregate fields can not be sorted due to performance/security concerns.
|
getColumnViewHtml, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getRepresentationFromIssue, prettyPrintChangeHistory, prettyPrintChangeHistorygetApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getSortComparatorSource, getSortFields, getVelocityParams, renderTemplatecompareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitprettyPrintChangeHistorygetId, getName, getNameKeycompareToprotected final AggregateTimeTrackingCalculatorFactory calculatorFactory
public AbstractAggregateDurationSystemField(String id, String nameKey, String columnHeadingKey, String defaultSortOrder, Comparator comparator, VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, AggregateTimeTrackingCalculatorFactory calculatorFactory)
public LuceneFieldSorter getSorter()
DocumentIssueImpl,
MappedSortComparatorprotected Long getDuration(Issue issue)
getDuration in class AbstractDurationSystemFieldprotected abstract Long getAggregateDuration(AggregateTimeTrackingBean bean)
bean - bean to extract value fromCopyright © 2002-2023 Atlassian. All Rights Reserved.