Package pl.edu.icm.unity.engine.api
Interface MessageTemplateManagement
public interface MessageTemplateManagement
This interface allows clients to manipulate message templates.
- Author:
- P. Piernik
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTemplate
(MessageTemplate toAdd) getCompatibleTemplates
(String templateConsumer) Returns a template after pre-processing (e.g.getPreprocessedTemplate
(MessageTemplate toProcess) AsgetPreprocessedTemplate(String)
but returns the argument template after preprocessinggetTemplate
(String name) void
reloadFromConfiguration
(Set<String> toReload) void
removeTemplate
(String name) void
updateTemplate
(MessageTemplate updated)
-
Method Details
-
addTemplate
- Throws:
EngineException
-
removeTemplate
- Throws:
EngineException
-
updateTemplate
- Throws:
EngineException
-
listTemplates
- Throws:
EngineException
-
getTemplate
- Throws:
EngineException
-
getPreprocessedTemplate
Returns a template after pre-processing (e.g. all includes are resolved).- Parameters:
name
-- Returns:
- Throws:
EngineException
-
getPreprocessedTemplate
AsgetPreprocessedTemplate(String)
but returns the argument template after preprocessing- Parameters:
toProcess
-- Returns:
- Throws:
EngineException
-
getCompatibleTemplates
- Throws:
EngineException
-
reloadFromConfiguration
-