com.atlassian.greenhopper.web.rapid.chart
Class IssueColumnChangeCollector

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.service.charts.AbstractIssueHistoryStatusCallback
          extended by com.atlassian.greenhopper.web.rapid.chart.IssueColumnChangeCollector
All Implemented Interfaces:
IssueStatusHistoryCallback

public class IssueColumnChangeCollector
extends AbstractIssueHistoryStatusCallback


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
IssueColumnChangeCollector(java.util.List<Column> columns, java.util.Map<com.atlassian.jira.issue.status.Status,Column> columnsByStatus, ChartDataHelper.SwimlaneFilter swimlaneFilter)
           
 
Method Summary
 java.util.SortedMap<java.lang.Long,java.util.Map<java.lang.String,CumulativeFlowChartModel.IssueColumnChangeEntry>> getColumnChanges()
           
 java.util.Collection<com.atlassian.jira.issue.status.Status> getStatuses()
           
 void statusChangedFrom(java.lang.Long issueId, java.lang.String issueKey, org.joda.time.DateTime changeTime, com.atlassian.jira.issue.status.Status changedFromStatus)
          Called for a status change from a given status
 void statusChangedTo(java.lang.Long issueId, java.lang.String issueKey, org.joda.time.DateTime changeTime, com.atlassian.jira.issue.status.Status changedToStatus)
          Called for a status change to a given status
 
Methods inherited from class com.atlassian.greenhopper.service.charts.AbstractIssueHistoryStatusCallback
afterStatus, beforeStatus
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueColumnChangeCollector

public IssueColumnChangeCollector(java.util.List<Column> columns,
                                  java.util.Map<com.atlassian.jira.issue.status.Status,Column> columnsByStatus,
                                  ChartDataHelper.SwimlaneFilter swimlaneFilter)
Method Detail

statusChangedFrom

public void statusChangedFrom(java.lang.Long issueId,
                              java.lang.String issueKey,
                              org.joda.time.DateTime changeTime,
                              com.atlassian.jira.issue.status.Status changedFromStatus)
Description copied from interface: IssueStatusHistoryCallback
Called for a status change from a given status

Specified by:
statusChangedFrom in interface IssueStatusHistoryCallback
Overrides:
statusChangedFrom in class AbstractIssueHistoryStatusCallback
changeTime - : time when the change was performed, in UTC

statusChangedTo

public void statusChangedTo(java.lang.Long issueId,
                            java.lang.String issueKey,
                            org.joda.time.DateTime changeTime,
                            com.atlassian.jira.issue.status.Status changedToStatus)
Description copied from interface: IssueStatusHistoryCallback
Called for a status change to a given status

Specified by:
statusChangedTo in interface IssueStatusHistoryCallback
Overrides:
statusChangedTo in class AbstractIssueHistoryStatusCallback
changeTime - : time when the change was performed, in UTC
changedToStatus - : the status the issue has changed to

getColumnChanges

public java.util.SortedMap<java.lang.Long,java.util.Map<java.lang.String,CumulativeFlowChartModel.IssueColumnChangeEntry>> getColumnChanges()

getStatuses

public java.util.Collection<com.atlassian.jira.issue.status.Status> getStatuses()
Returns:
The statuses to query for. Callbacks will be for each status in the collection, for all issues according to getQuery(), in the order of the collection.


Copyright © 2007-2012 Atlassian. All Rights Reserved.