com.atlassian.jira.issue.history
Interface DateRangeBuilder

All Known Implementing Classes:
AbstractDateRangeBuilder, AssigneeDateRangeBuilder, PriorityDateRangeBuilder, ReporterDateRangeBuilder, ResolutionDateRangeBuilder, StatusDateRangeBuilder, VersionDateRangeBuilder

@PublicApi
public interface DateRangeBuilder

The change history items only include the date of change - for indexing and searching you need a date range.

Since:
v4.3

Method Summary
 List<ChangeHistoryItem> buildDateRanges(Issue issue, List<ChangeHistoryItem> items)
           
 String getEmptyValue()
           
 

Method Detail

buildDateRanges

List<ChangeHistoryItem> buildDateRanges(Issue issue,
                                        List<ChangeHistoryItem> items)
Parameters:
issue - The issue that is being currently indexed
items - A Collection of all the @link ChangeHistoryItem)s for that issue.
Returns:
A list of items with date ranges This method then iterates the list and creates the date ranges - it also ensures there is always an 'initial' change state.

getEmptyValue

String getEmptyValue()


Copyright © 2002-2014 Atlassian. All Rights Reserved.