com.atlassian.jira.event.issue
Class IssueEvent
java.lang.Object
com.atlassian.jira.event.AbstractEvent
com.atlassian.jira.event.issue.IssueEvent
- All Implemented Interfaces:
- JiraEvent
- public final class IssueEvent
- extends AbstractEvent
The basic IssueEvent
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 toparams
- 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 tocomment
- A comment for this eventchangelog
- An attached changelog for this eventparams
- Parameters that can be retrieved by the Listener
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