Package com.day.cq.mailer.email
Interface EmailTemplateFactory<Type extends Email>
- Type Parameters:
Type- Type of email
public interface EmailTemplateFactory<Type extends Email>
An interface to reference a an OSGI Service for creating
This allow to share an instance wide configuration, like a From address or charSet
EmailTemplates.This allow to share an instance wide configuration, like a From address or charSet
- Since:
- 5.4
-
Method Summary
-
Method Details
-
create
- Parameters:
resource- containing the data to be set on the email-template- Returns:
- template or
nullif the Resource didn't allow to build one - Throws:
RepositoryException- in case of error accessing the underlying Repository
-