Use of MailActivityBehavior as TaskListener
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2011 06:18 AM
Hi,
It seems like it would be useful to be able to reuse this class to send mail in a listener. From a quick review it looks like changing
Does this seem a reasonable change to JIRA?
Tim
It seems like it would be useful to be able to reuse this class to send mail in a listener. From a quick review it looks like changing
public void execute(ActivityExecution execution)
to public void execute(DelegateExecution execution)
. The only line that needs ActivityExecution is to call leave, which seems like it could be wrapped in an if instanceof ActivityExecution.Does this seem a reasonable change to JIRA?
Tim
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 03:30 AM
Sending a mail from within a tasklistener sounds like a good usecase, you can always add it to jira as feature request.
