com.atlassian.jira.event
Class AbstractEvent

java.lang.Object
  extended by com.atlassian.jira.event.AbstractEvent
All Implemented Interfaces:
JiraEvent
Direct Known Subclasses:
ApplicationPropertyChangeEvent, IssueEvent, UserEvent

public abstract class AbstractEvent
extends Object
implements JiraEvent

An abstract implementation of a JiraEvent


Field Summary
protected  Map<String,Object> params
           
protected  Date time
           
 
Constructor Summary
AbstractEvent()
           
AbstractEvent(Map<String,Object> params)
           
 
Method Summary
 boolean equals(Object o)
           
 Map<String,Object> getParams()
          A map of parameters which can be used to pass data to a Listener
 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 Date time

params

protected Map<String,Object> params
Constructor Detail

AbstractEvent

public AbstractEvent()

AbstractEvent

public AbstractEvent(Map<String,Object> params)
Method Detail

getTime

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

Specified by:
getTime in interface JiraEvent
Returns:
time of the event

getParams

public Map<String,Object> 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
Returns:
event parameters

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2011 Atlassian. All Rights Reserved.