@RegisteredService(value=TaskNotifier.class) public class TaskNotifier extends TemplatedNotifier
Constructor and Description |
---|
TaskNotifier() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
getCcRecipients(java.lang.String outcome) |
protected java.lang.String |
getFrom() |
protected java.lang.String |
getProperty(java.lang.String name) |
protected java.util.List<java.lang.String> |
getRecipients(java.lang.String outcome)
Default implementation: If outcome is "Assigned", send only to assignee's email.
|
protected java.lang.String |
getSubject(java.lang.String action) |
void |
sendNotice(TaskRuntimeContext context,
java.lang.String taskAction,
java.lang.String outcome)
Notifies when an action has been performed on a task instance.
|
getTemplateSpec, setTemplateSpec
public void sendNotice(TaskRuntimeContext context, java.lang.String taskAction, java.lang.String outcome) throws ObserverException
TaskNotifier
ObserverException
protected java.lang.String getProperty(java.lang.String name)
protected java.lang.String getSubject(java.lang.String action)
protected java.lang.String getFrom()
protected java.util.List<java.lang.String> getRecipients(java.lang.String outcome) throws ObserverException
ObserverException
protected java.util.List<java.lang.String> getCcRecipients(java.lang.String outcome) throws ObserverException
ObserverException
Copyright © 2019 CenturyLink, Inc.