public class

VersionMergeEvent

extends AbstractVersionEvent
java.lang.Object
   ↳ com.atlassian.jira.event.project.AbstractVersionEvent
     ↳ com.atlassian.jira.event.project.VersionMergeEvent

Class Overview

Event indicating a version has been merged into another

Summary

Public Constructors
@Internal VersionMergeEvent(Version version, Version mergedVersion)
Public Methods
boolean equals(Object o)
@Nonnull Version getMergedVersion()
long getMergedVersionId()
Get the ID of the version that was merged into this version.
int hashCode()
[Expand]
Inherited Methods
From class com.atlassian.jira.event.project.AbstractVersionEvent
From class java.lang.Object

Public Constructors

@Internal public VersionMergeEvent (Version version, Version mergedVersion)

@Internal

This constructor is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Public Methods

public boolean equals (Object o)

@Nonnull public Version getMergedVersion ()

public long getMergedVersionId ()

Get the ID of the version that was merged into this version. Note that the version for this ID may no longer exist when this event is published.

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

public int hashCode ()