com.atlassian.greenhopper.service.charts
Class FixVersionHistoryCallback

java.lang.Object
  extended by com.atlassian.greenhopper.service.charts.FixVersionHistoryCallback
All Implemented Interfaces:
ChangeHistoryCallback<java.lang.Long>

public class FixVersionHistoryCallback
extends java.lang.Object
implements ChangeHistoryCallback<java.lang.Long>


Constructor Summary
FixVersionHistoryCallback()
           
 
Method Summary
 void after(java.lang.Long versionId)
          Called after the change history for the given value has been processed, and before the next value will be processed.
 void before(java.lang.Long versionId)
          Called before the change history for the given value is processed
 void changedFrom(java.lang.Long issueId, java.lang.String issueKey, org.joda.time.DateTime changeTime, java.lang.Long value)
          Called for a change from a given previous value
 void changedTo(java.lang.Long issueId, java.lang.String issueKey, org.joda.time.DateTime changeTime, java.lang.Long value)
          Called for a change to a given new value
 java.util.Map<java.lang.String,java.util.List<FixVersionChangeEntry>> getChanges()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixVersionHistoryCallback

public FixVersionHistoryCallback()
Method Detail

changedTo

public void changedTo(java.lang.Long issueId,
                      java.lang.String issueKey,
                      org.joda.time.DateTime changeTime,
                      java.lang.Long value)
Description copied from interface: ChangeHistoryCallback
Called for a change to a given new value

Specified by:
changedTo in interface ChangeHistoryCallback<java.lang.Long>
changeTime - : time when the change was performed, in UTC
value - : the new value (e.g. Status or fix version ID) the issue has changed to

changedFrom

public void changedFrom(java.lang.Long issueId,
                        java.lang.String issueKey,
                        org.joda.time.DateTime changeTime,
                        java.lang.Long value)
Description copied from interface: ChangeHistoryCallback
Called for a change from a given previous value

Specified by:
changedFrom in interface ChangeHistoryCallback<java.lang.Long>
changeTime - : time when the change was performed, in UTC
value - : the old value the issue has changed from (e.g. old status or version ID)

before

public void before(java.lang.Long versionId)
Description copied from interface: ChangeHistoryCallback
Called before the change history for the given value is processed

Specified by:
before in interface ChangeHistoryCallback<java.lang.Long>

after

public void after(java.lang.Long versionId)
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<java.lang.Long>

getChanges

public java.util.Map<java.lang.String,java.util.List<FixVersionChangeEntry>> getChanges()


Copyright © 2007-2013 Atlassian. All Rights Reserved.