|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.AbstractDurationSystemField
com.atlassian.jira.issue.fields.AbstractAggregateDurationSystemField
public abstract class AbstractAggregateDurationSystemField
Abstract field for aggregate Time Tracking values. This class looks after the cacheing of the
AggregateTimeTrackingBean and provides a simple plugin point for
aggregate fields.
| Field Summary | |
|---|---|
protected AggregateTimeTrackingCalculatorFactory |
calculatorFactory
|
| Fields inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl |
|---|
applicationProperties, templatingEngine |
| Fields inherited from class com.atlassian.jira.issue.fields.AbstractField |
|---|
authenticationContext |
| Fields inherited from interface com.atlassian.jira.issue.fields.NavigableField |
|---|
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH |
| Constructor Summary | |
|---|---|
AbstractAggregateDurationSystemField(String id,
String nameKey,
String columnHeadingKey,
String defaultSortOrder,
Comparator comparator,
VelocityTemplatingEngine templatingEngine,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
AggregateTimeTrackingCalculatorFactory calculatorFactory)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.atlassian.jira.issue.fields.AbstractDurationSystemField |
|---|
getColumnViewHtml, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, prettyPrintChangeHistory, prettyPrintChangeHistory |
| Methods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl |
|---|
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getSortComparatorSource, getSortFields, getVelocityParams, renderTemplate |
| Methods inherited from class com.atlassian.jira.issue.fields.AbstractField |
|---|
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.jira.issue.fields.Field |
|---|
getId, getName, getNameKey |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
protected final AggregateTimeTrackingCalculatorFactory calculatorFactory
| Constructor Detail |
|---|
public AbstractAggregateDurationSystemField(String id,
String nameKey,
String columnHeadingKey,
String defaultSortOrder,
Comparator comparator,
VelocityTemplatingEngine templatingEngine,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
AggregateTimeTrackingCalculatorFactory calculatorFactory)
| Method Detail |
|---|
public LuceneFieldSorter getSorter()
DocumentIssueImpl,
MappedSortComparatorprotected Long getDuration(Issue issue)
getDuration in class AbstractDurationSystemFieldprotected abstract Long getAggregateDuration(AggregateTimeTrackingBean bean)
bean - bean to extract value from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||