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, templatingEngine
authenticationContext
ORDER_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, prettyPrintChangeHistory
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getSortComparatorSource, getSortFields, getVelocityParams, renderTemplate
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
prettyPrintChangeHistory
getId, getName, getNameKey
compareTo
protected 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
,
MappedSortComparator
protected Long getDuration(Issue issue)
getDuration
in class AbstractDurationSystemField
protected abstract Long getAggregateDuration(AggregateTimeTrackingBean bean)
bean
- bean to extract value fromCopyright © 2002-2024 Atlassian. All Rights Reserved.