|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.event.issue.DefaultIssueEventManager
public class DefaultIssueEventManager
Default implementation of IssueEventManager
.
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,
Map params,
com.atlassian.crowd.embedded.api.User remoteUser)
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. |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Dispatch event of given type. |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail)
Dispatch event of given type. |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Dispatch event of given type with custom parameters. |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Dispatch event of given type with custom parameters. |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Dispatch event of given type with custom parameters. |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated)
Dispatch event of given type. |
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 |
---|
public DefaultIssueEventManager(ApplicationProperties applicationProperties, com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail |
---|
public void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, boolean sendMail)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueremoteUser
- user initiating the eventsendMail
- whether or not a mail notification should be sentpublic void dispatchEvent(Long eventTypeId, Issue issue, Map<String,Object> params, com.atlassian.crowd.embedded.api.User remoteUser, boolean sendMail)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueparams
- custom event parametersremoteUser
- user initiating the eventsendMail
- whether or not a mail notification should be sentpublic void dispatchEvent(Long eventTypeId, Issue issue, Map params, com.atlassian.crowd.embedded.api.User remoteUser)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueparams
- custom event parametersremoteUser
- user initiating the eventpublic void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueremoteUser
- remoteUser user initiating the eventcomment
- comment for this eventworklog
- worklog for this eventchangelog
- An attached changeGroup for this eventpublic void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueremoteUser
- remoteUser user initiating the eventcomment
- comment for this eventworklog
- worklog for this eventchangelog
- attached changeGroup for this eventsendMail
- whether or not a mail notification should be sentpublic void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueremoteUser
- remoteUser user initiating the eventcomment
- comment for this eventworklog
- worklog for this eventchangelog
- attached changeGroup for this eventparams
- custom event parameterspublic void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueremoteUser
- remoteUser user initiating the eventcomment
- comment for this eventworklog
- worklog for this eventchangelog
- attached changeGroup for this eventparams
- custom event parameterssendMail
- whether or not a mail notification should be sentpublic void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueremoteUser
- remoteUser user initiating the eventchangelog
- attached changeGroup for this eventsendMail
- whether or not a mail notification should be sentsubtasksUpdated
- if subtask have been modified.public void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- type of eventissue
- affected issueremoteUser
- remoteUser user initiating the eventcomment
- comment for this eventworklog
- worklog for this eventchangelog
- attached changeGroup for this eventparams
- custom event parameterssendMail
- whether or not a mail notification should be sentsubtasksUpdated
- if subtask have been modified.protected void fillInDefaultParams(Map<String,Object> params)
protected void publishEvent(IssueEvent event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |