Class EmailTemplateScanner
java.lang.Object
org.opencastproject.email.template.impl.EmailTemplateScanner
- All Implemented Interfaces:
org.apache.felix.fileinstall.ArtifactInstaller,org.apache.felix.fileinstall.ArtifactListener
public class EmailTemplateScanner
extends Object
implements org.apache.felix.fileinstall.ArtifactInstaller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetTemplate(String fileName) Returns the email template for the given file name ornullif no such one.Returns the list of templates.voidvoidvoid
-
Constructor Details
-
EmailTemplateScanner
public EmailTemplateScanner()
-
-
Method Details
-
getTemplates
Returns the list of templates.- Returns:
- the email templates
-
getTemplate
Returns the email template for the given file name ornullif no such one.- Parameters:
fileName- the template file name- Returns:
- the email template text
-
canHandle
- Specified by:
canHandlein interfaceorg.apache.felix.fileinstall.ArtifactListener- See Also:
-
install
- Specified by:
installin interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception- See Also:
-
uninstall
- Specified by:
uninstallin interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception- See Also:
-
update
- Specified by:
updatein interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception- See Also:
-