use of io.kestra.core.repositories.TriggerRepositoryInterface in project kestra by kestra-io.
the class RestoreQueueService method triggers.
public int triggers(boolean noRecreate) {
TriggerRepositoryInterface triggerRepository = applicationContext.getBean(TriggerRepositoryInterface.class);
List<Trigger> triggers = new ArrayList<>(triggerRepository.findAll());
return this.send(triggers, QueueFactoryInterface.TRIGGER_NAMED, Trigger.class, noRecreate);
}
Aggregations