com.atlassian.jira.event.project
Class VersionMergeEvent

java.lang.Object
  extended by com.atlassian.jira.event.project.AbstractVersionEvent
      extended by com.atlassian.jira.event.project.VersionMergeEvent

public class VersionMergeEvent
extends AbstractVersionEvent

Event indicating a version has been merged into another

Since:
v4.4

Constructor Summary
VersionMergeEvent(long versionId, long mergedVersionId)
           
 
Method Summary
 boolean equals(Object o)
           
 long getMergedVersionId()
          Get the ID of the version that was merged into this version.
 int hashCode()
           
 
Methods inherited from class com.atlassian.jira.event.project.AbstractVersionEvent
getVersionId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionMergeEvent

public VersionMergeEvent(long versionId,
                         long mergedVersionId)
Method Detail

getMergedVersionId

public long getMergedVersionId()
Get the ID of the version that was merged into this version. Note that the version for this ID will no longer exist when this event is published.

Returns:
The ID of the version that was merged into this version

equals

public boolean equals(Object o)
Overrides:
equals in class AbstractVersionEvent

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractVersionEvent


Copyright © 2002-2012 Atlassian. All Rights Reserved.