public Map templateDirLoaders()

in src/main/java/com/epam/digital/data/platform/notification/config/TemplateLoaderConfig.java [45:62]


  public Map<String, NotificationDirectoryLoader> templateDirLoaders(
      NotificationTemplateRestClient restClient,
      @Qualifier("yamlMapper") ObjectMapper yamlMapper) {
    return Map.of(
        EMAIL.getChannelName(),
        new EmailNotificationLoader(
            restClient,
            yamlMapper),
        DIIA.getChannelName(),
        new DiiaNotificationLoader(
            restClient,
            yamlMapper),
        INBOX.getChannelName(),
        new InboxNotificationLoader(
            restClient,
            yamlMapper
        ));
  }