com.atlassian.jira.event.project
Class AbstractVersionEvent

java.lang.Object
  extended by com.atlassian.jira.event.project.AbstractVersionEvent
Direct Known Subclasses:
AbstractRemoteVersionLinkEvent, AffectedVersionCreatedInlineEvent, FixVersionCreatedInline, VersionArchiveEvent, VersionCreatedViaRestEvent, VersionCreateEvent, VersionDeleteEvent, VersionMergeEvent, VersionMoveEvent, VersionReleaseEvent, VersionUnarchiveEvent, VersionUnreleaseEvent, VersionUpdatedEvent

public class AbstractVersionEvent
extends Object

Abstract event for versions

Since:
v4.4

Constructor Summary
AbstractVersionEvent(long versionId)
           
AbstractVersionEvent(Version version)
           
 
Method Summary
 boolean equals(Object o)
           
 Version getVersion()
           
 long getVersionId()
          Get the ID of the version this event occurred on
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractVersionEvent

public AbstractVersionEvent(long versionId)

AbstractVersionEvent

public AbstractVersionEvent(@Nonnull
                            Version version)
Method Detail

getVersionId

public long getVersionId()
Get the ID of the version this event occurred on

Returns:
The ID of the version

getVersion

@Nonnull
public Version getVersion()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.