Package com.levigo.jadice.server.rest
Interface TemplateRepository
-
- All Known Implementing Classes:
SimpleTemplateRepository
public interface TemplateRepository
ATemplateRepository
is the backing implementation for the REST basedTemplateService
.- Since:
- jadice server 5.6.0.0
- See Also:
TemplateService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getTemplate(String id)
Retrieve a single job templateList<String>
listTemplates()
-
-
-
Method Detail
-
getTemplate
String getTemplate(String id) throws IOException
Retrieve a single job template- Parameters:
id
- the ID of the job template- Returns:
- The content of the job template
- Throws:
IOException
- if the job template could not be retrieved
-
-