com.atlassian.jira.event.issue
Class DefaultIssueEventManager
java.lang.Object
com.atlassian.jira.event.issue.DefaultIssueEventManager
- All Implemented Interfaces:
- IssueEventManager
public class DefaultIssueEventManager
- extends Object
- implements IssueEventManager
Default implementation of IssueEventManager
.
- Since:
- v4.4
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 |
DefaultIssueEventManager
public DefaultIssueEventManager(ApplicationProperties applicationProperties,
com.atlassian.event.api.EventPublisher eventPublisher)
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 eventissue
- affected issueremoteUser
- user initiating the eventsendMail
- 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 eventissue
- affected issueparams
- custom event parametersremoteUser
- user initiating the eventsendMail
- 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.