use of io.kestra.core.repositories.TemplateRepositoryInterface in project kestra by kestra-io.
the class RestoreQueueService method templates.
public int templates(boolean noRecreate) {
TemplateRepositoryInterface templateRepository = applicationContext.getBean(TemplateRepositoryInterface.class);
List<Template> templates = new ArrayList<>(templateRepository.findAll());
return this.send(templates, QueueFactoryInterface.TEMPLATE_NAMED, Template.class, noRecreate);
}
Aggregations