Class AbstractIssueHistoryStatusCallback
java.lang.Object
com.atlassian.greenhopper.service.charts.AbstractIssueHistoryStatusCallback
- All Implemented Interfaces:
ChangeHistoryCallback<com.atlassian.jira.issue.status.Status>
,IssueStatusHistoryCallback
- Direct Known Subclasses:
DaysInColumnCallback
,IssueColumnChangeCollector
,IssueCycleTimeCollector
public abstract class AbstractIssueHistoryStatusCallback
extends Object
implements IssueStatusHistoryCallback
No-op superclass for status history callbacks. Not every callback implementation is interested in implementing all callbacks (sounds weird, but
makes sense), so they can just override whichever they need.
- Author:
- ahennecke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
after
(com.atlassian.jira.issue.status.Status status) Called after the change history for the given value has been processed, and before the next value will be processed.void
before
(com.atlassian.jira.issue.status.Status status) Called before the change history for the given value is processedvoid
changedFrom
(Long issueId, String issueKey, org.joda.time.DateTime changeTime, com.atlassian.jira.issue.status.Status changedFromStatus) Called for a change from a given previous valuevoid
changedTo
(Long issueId, String issueKey, org.joda.time.DateTime changeTime, com.atlassian.jira.issue.status.Status changedToStatus) Called for a change to a given new valueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.greenhopper.service.charts.IssueStatusHistoryCallback
getStatuses
-
Field Details
-
log
-
-
Constructor Details
-
AbstractIssueHistoryStatusCallback
public AbstractIssueHistoryStatusCallback()
-
-
Method Details
-
before
public void before(com.atlassian.jira.issue.status.Status status) Description copied from interface:ChangeHistoryCallback
Called before the change history for the given value is processed- Specified by:
before
in interfaceChangeHistoryCallback<com.atlassian.jira.issue.status.Status>
-
changedFrom
public void changedFrom(Long issueId, String issueKey, org.joda.time.DateTime changeTime, com.atlassian.jira.issue.status.Status changedFromStatus) Description copied from interface:ChangeHistoryCallback
Called for a change from a given previous value- Specified by:
changedFrom
in interfaceChangeHistoryCallback<com.atlassian.jira.issue.status.Status>
changeTime
- : time when the change was performed, in UTCchangedFromStatus
- : the old value the issue has changed from (e.g. old status or version ID)
-
changedTo
public void changedTo(Long issueId, String issueKey, org.joda.time.DateTime changeTime, com.atlassian.jira.issue.status.Status changedToStatus) Description copied from interface:ChangeHistoryCallback
Called for a change to a given new value- Specified by:
changedTo
in interfaceChangeHistoryCallback<com.atlassian.jira.issue.status.Status>
changeTime
- : time when the change was performed, in UTCchangedToStatus
- : the new value (e.g. Status or fix version ID) the issue has changed to
-
after
public void after(com.atlassian.jira.issue.status.Status status) Description copied from interface:ChangeHistoryCallback
Called after the change history for the given value has been processed, and before the next value will be processed.- Specified by:
after
in interfaceChangeHistoryCallback<com.atlassian.jira.issue.status.Status>
-