@org.osgi.service.component.annotations.Component(service: [EmailNotificationService, NotificationService], immediate: true) @Slf4j(value: LOG) class AemEmailNotificationService extends Object implements EmailNotificationService
| Modifiers | Name | Description |
|---|---|---|
private ConfigurationService |
configurationService |
|
private MailService |
mailService |
| Type | Name and description |
|---|---|
static String |
FORMAT_TIMESTAMP |
static String |
SUBJECT |
static String |
TEMPLATE_PATH_FAIL |
static String |
TEMPLATE_PATH_SUCCESS |
| Constructor and description |
|---|
AemEmailNotificationService() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
private Map<String, String> |
createBinding(RunScriptResponse response) |
|
private Email |
createEmail(RunScriptResponse response, Set<String> recipients, String successTemplate, String failureTemplate, boolean attachOutput) |
|
private String |
getMessage(RunScriptResponse response, String successTemplate, String failureTemplate) |
|
void |
notify(RunScriptResponse response) |
|
void |
notify(RunScriptResponse response, Set<String> recipients, boolean attachOutput) |
|
void |
notify(RunScriptResponse response, Set<String> recipients, String successTemplate, String failureTemplate, boolean attachOutput) |