com.atlassian.jira.event.issue
Class IssueEvent

java.lang.Object
  extended bycom.atlassian.jira.event.AbstractEvent
      extended bycom.atlassian.jira.event.issue.IssueEvent
All Implemented Interfaces:
JiraEvent

public final class IssueEvent
extends AbstractEvent

The basic IssueEvent


Field Summary
 
Fields inherited from class com.atlassian.jira.event.AbstractEvent
params, time
 
Constructor Summary
IssueEvent(GenericValue issue, java.util.Map params)
          Create a new IssueEvent with a given list of parameters.
IssueEvent(GenericValue issue, User remoteUser, GenericValue comment, GenericValue changelog, java.util.Map params)
          Create a new IssueEvent with a given list of parameters.
 
Method Summary
 boolean equals(java.lang.Object o)
          Note: this will not compare the time stamps of two events - only everything else.
 GenericValue getChangeLog()
           
 GenericValue getComment()
           
 GenericValue getIssue()
           
 User getRemoteUser()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.jira.event.AbstractEvent
getParams, getTime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IssueEvent

public IssueEvent(GenericValue issue,
                  java.util.Map params)
Create a new IssueEvent with a given list of parameters.

Parameters:
issue - The issue this event refers to
params - Parameters that can be retrieved by the Listener

IssueEvent

public IssueEvent(GenericValue issue,
                  User remoteUser,
                  GenericValue comment,
                  GenericValue changelog,
                  java.util.Map params)
Create a new IssueEvent with a given list of parameters.

This event also has an attached changelog and comment (either may be null).

Parameters:
issue - The issue this event refers to
comment - A comment for this event
changelog - An attached changelog for this event
params - Parameters that can be retrieved by the Listener
Method Detail

getIssue

public GenericValue getIssue()

getRemoteUser

public User getRemoteUser()

getChangeLog

public GenericValue getChangeLog()

getComment

public GenericValue getComment()

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)
Note: this will not compare the time stamps of two events - only everything else.

Overrides:
equals in class AbstractEvent

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractEvent