com.atlassian.jira.event
Class AbstractEvent
java.lang.Object
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
time
protected Date time
params
protected Map<String,Object> params
AbstractEvent
public AbstractEvent()
AbstractEvent
public AbstractEvent(Map<String,Object> params)
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.