com.atlassian.jira.event
Class AbstractEvent

java.lang.Object
  |
  +--com.atlassian.jira.event.AbstractEvent
All Implemented Interfaces:
JiraEvent
Direct Known Subclasses:
IssueEvent, UserEvent

public abstract class AbstractEvent
extends java.lang.Object
implements JiraEvent

An abstract implementation of a JiraEvent


Field Summary
protected  java.util.Map params
           
protected  java.util.Date time
           
 
Constructor Summary
AbstractEvent()
           
AbstractEvent(java.util.Map params)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Map getParams()
          A map of parameters which can be used to pass data to a Listener
 java.util.Date getTime()
          The time the event was created
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

protected java.util.Date time

params

protected java.util.Map params
Constructor Detail

AbstractEvent

public AbstractEvent()

AbstractEvent

public AbstractEvent(java.util.Map params)
Method Detail

getTime

public java.util.Date getTime()
Description copied from interface: JiraEvent
The time the event was created

Specified by:
getTime in interface JiraEvent

getParams

public java.util.Map getParams()
Description copied from interface: JiraEvent
A map of parameters which can be used to pass data to a Listener

Specified by:
getParams in interface JiraEvent

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2002-2003 Atlassian. All Rights Reserved.