mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-15 20:16:34 +00:00
[AB-199] adding build of sources and javadoc
fixing javadoc as various places adding release plugin adding developer connection to scm updating release pipeline to new action versions
This commit is contained in:
@@ -39,6 +39,8 @@ public class FreemarkerConfiguration {
|
||||
* The correct compatibility version and the provided formatter methods to be used in the templates.
|
||||
* The encoding of the templates is set to UTF-8.
|
||||
* @return A configured {@link Configuration} bean according to the configuration
|
||||
* @throws IOException when the configuration fails to be created
|
||||
* @throws TemplateException when the configuration fails to be created
|
||||
*/
|
||||
@Bean
|
||||
public Configuration freeMarkerConfiguration() throws IOException, TemplateException {
|
||||
|
||||
@@ -10,11 +10,18 @@ import java.util.Optional;
|
||||
*/
|
||||
public interface EffectiveTemplateManagementService {
|
||||
/**
|
||||
* Retrieves the template identified by the key.
|
||||
* Retrieves the template identified by the key for the server
|
||||
* @param key They template key to search for
|
||||
* @return An {@link Optional} containing the {@link Template} if it exists, and null otherwise
|
||||
* @param server The ID of the server to retrieve the template for
|
||||
* @return An {@link Optional} containing the {@link Template} if it exists, and empty otherwise
|
||||
*/
|
||||
Optional<EffectiveTemplate> getTemplateByKeyAndServer(String key, Long server);
|
||||
|
||||
/**
|
||||
* Retrieves the template identified by the key.
|
||||
* @param key They template key to search for
|
||||
* @return An {@link Optional} containing the {@link Template} if it exists, and empty otherwise
|
||||
*/
|
||||
Optional<EffectiveTemplate> getTemplateByKey(String key);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user