Interface ChangeHistoryCallback<T>
- All Known Subinterfaces:
IssueStatusHistoryCallback
- All Known Implementing Classes:
AbstractIssueHistoryStatusCallback
,DaysInColumnCallback
,FixVersionHistoryCallback
,IssueColumnChangeCollector
,IssueCycleTimeCollector
public interface ChangeHistoryCallback<T>
Generic callback for gathering change history information.
When requesting a history, implementations will be called for every change that matches the given input.
These calls are guaranteed to be in chronological order, but they are batched by value.
This means that in practice, all changes for one value (e.g. one status or fix version) are returned before changes for the next value.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called after the change history for the given value has been processed, and before the next value will be processed.void
Called before the change history for the given value is processedvoid
changedFrom
(Long issueId, String issueKey, org.joda.time.DateTime changeTime, T value) Called for a change from a given previous valuevoid
Called for a change to a given new value
-
Method Details
-
changedTo
Called for a change to a given new value- Parameters:
changeTime
- : time when the change was performed, in UTCvalue
- : the new value (e.g. Status or fix version ID) the issue has changed to
-
changedFrom
Called for a change from a given previous value- Parameters:
changeTime
- : time when the change was performed, in UTCvalue
- : the old value the issue has changed from (e.g. old status or version ID)
-
before
Called before the change history for the given value is processed -
after
Called after the change history for the given value has been processed, and before the next value will be processed.
-