com.atlassian.jira.event.issue
Class DefaultIssueEventManager

java.lang.Object
  extended by com.atlassian.jira.event.issue.DefaultIssueEventManager
All Implemented Interfaces:
IssueEventManager

public class DefaultIssueEventManager
extends Object
implements IssueEventManager

Default implementation of IssueEventManager.

Since:
v4.4

Constructor Summary
DefaultIssueEventManager(ApplicationProperties applicationProperties, com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 void dispatchEvent(Long eventTypeId, Issue issue, Map<String,Object> params, com.atlassian.crowd.embedded.api.User remoteUser, boolean sendMail)
          Dispatch event of given type with custom parameters.
 void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, boolean sendMail)
          Dispatch event of given type, configuring whether or not a mail notification should be sent (useful e.g.
protected  void fillInDefaultParams(Map<String,Object> params)
           
protected  void publishEvent(IssueEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIssueEventManager

public DefaultIssueEventManager(ApplicationProperties applicationProperties,
                                com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

dispatchEvent

public void dispatchEvent(Long eventTypeId,
                          Issue issue,
                          com.atlassian.crowd.embedded.api.User remoteUser,
                          boolean sendMail)
Description copied from interface: IssueEventManager
Dispatch event of given type, configuring whether or not a mail notification should be sent (useful e.g. for bull edit).

Specified by:
dispatchEvent in interface IssueEventManager
Parameters:
eventTypeId - type of event
issue - affected issue
remoteUser - user initiating the event
sendMail - whether or not a mail notification should be sent

dispatchEvent

public void dispatchEvent(Long eventTypeId,
                          Issue issue,
                          Map<String,Object> params,
                          com.atlassian.crowd.embedded.api.User remoteUser,
                          boolean sendMail)
Description copied from interface: IssueEventManager
Dispatch event of given type with custom parameters.

Specified by:
dispatchEvent in interface IssueEventManager
Parameters:
eventTypeId - type of event
issue - affected issue
params - custom event parameters
remoteUser - user initiating the event
sendMail - whether or not a mail notification should be sent

fillInDefaultParams

protected void fillInDefaultParams(Map<String,Object> params)

publishEvent

protected void publishEvent(IssueEvent event)


Copyright © 2002-2011 Atlassian. All Rights Reserved.