use of com.synopsys.integration.alert.channel.email.convert.EmailGlobalConfigurationModelConverter in project hub-alert by blackducksoftware.
the class EmailConfigActionTestIT method createConversionService.
private GlobalConfigurationModelToConcreteConversionService createConversionService(EmailGlobalCrudActions emailGlobalCrudActions) {
EmailGlobalConfigurationModelConverter modelConverter = new EmailGlobalConfigurationModelConverter();
EmailGlobalConfigurationModelSaveActions emailGlobalConfigurationModelSaveActions = new EmailGlobalConfigurationModelSaveActions(modelConverter, emailGlobalCrudActions, emailGlobalConfigAccessor);
List<GlobalConfigurationModelToConcreteSaveActions> conversionActions = List.of(emailGlobalConfigurationModelSaveActions);
return new GlobalConfigurationModelToConcreteConversionService(conversionActions, descriptorMap);
}
Aggregations