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
    Modifier and Type
    Field
    Description
    protected final LoggerWrapper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 processed
    void
    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 value
    void
    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 value

    Methods 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

  • 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 interface ChangeHistoryCallback<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 interface ChangeHistoryCallback<com.atlassian.jira.issue.status.Status>
      changeTime - : time when the change was performed, in UTC
      changedFromStatus - : 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 interface ChangeHistoryCallback<com.atlassian.jira.issue.status.Status>
      changeTime - : time when the change was performed, in UTC
      changedToStatus - : 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 interface ChangeHistoryCallback<com.atlassian.jira.issue.status.Status>