use of com.synopsys.integration.alert.channel.email.convert.EmailGlobalConfigurationModelSaveActions 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