public abstract class

AbstractDateRangeBuilder

extends Object
implements DateRangeBuilder
java.lang.Object
   ↳ com.atlassian.jira.issue.history.AbstractDateRangeBuilder
Known Direct Subclasses

Class Overview

Abstract implementation of DateRangeBuilder - gprovides a buildDateRanges that will work for all single value system fields.

Summary

Fields
protected static final Long MINUS_1 Convenient constant for date range builders to use as the initial value provided to withId(Long) and inChangeGroup(Long), since the long (non-object) argument forms have been deprecated.
Public Constructors
AbstractDateRangeBuilder(String field, String emptyValue)
Public Methods
List<ChangeHistoryItem> buildDateRanges(Issue issue, List<ChangeHistoryItem> items)
String getEmptyValue()
Protected Methods
ChangeHistoryItem.Builder changeItemBuilder(Issue issue)
ChangeHistoryItem createChangeItem(ChangeHistoryItem changeItem, Timestamp nextChange)
abstract ChangeHistoryItem createInitialChangeItem(Issue issue)
String getField()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.history.DateRangeBuilder

Fields

protected static final Long MINUS_1

Convenient constant for date range builders to use as the initial value provided to withId(Long) and inChangeGroup(Long), since the long (non-object) argument forms have been deprecated.

Public Constructors

public AbstractDateRangeBuilder (String field, String emptyValue)

Public Methods

public List<ChangeHistoryItem> buildDateRanges (Issue issue, List<ChangeHistoryItem> items)

public String getEmptyValue ()

Protected Methods

protected ChangeHistoryItem.Builder changeItemBuilder (Issue issue)

protected ChangeHistoryItem createChangeItem (ChangeHistoryItem changeItem, Timestamp nextChange)

protected abstract ChangeHistoryItem createInitialChangeItem (Issue issue)

protected String getField ()