mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-07 00:30:50 +00:00
moved post targets to an enum, in order to have more type safety, this might be changed in the future
added validation check when a feature is enabled, in order to notify which configuration is missing for this feature to function properly
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package dev.sheldan.abstracto.templating.service;
|
||||
|
||||
import dev.sheldan.abstracto.templating.Templatable;
|
||||
import dev.sheldan.abstracto.templating.model.MessageToSend;
|
||||
|
||||
import java.util.HashMap;
|
||||
@@ -32,4 +33,6 @@ public interface TemplateService {
|
||||
* @return The template rendered as string.
|
||||
*/
|
||||
String renderTemplate(String key, Object model);
|
||||
|
||||
String renderTemplatable(Templatable templatable);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user