Search in sources :

Example 1 with EmailGlobalConfigurationModelSaveActions

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);
}
Also used : GlobalConfigurationModelToConcreteConversionService(com.synopsys.integration.alert.web.api.config.GlobalConfigurationModelToConcreteConversionService) EmailGlobalConfigurationModelSaveActions(com.synopsys.integration.alert.channel.email.convert.EmailGlobalConfigurationModelSaveActions) EmailGlobalConfigurationModelConverter(com.synopsys.integration.alert.channel.email.convert.EmailGlobalConfigurationModelConverter) GlobalConfigurationModelToConcreteSaveActions(com.synopsys.integration.alert.common.action.api.GlobalConfigurationModelToConcreteSaveActions)

Aggregations

EmailGlobalConfigurationModelConverter (com.synopsys.integration.alert.channel.email.convert.EmailGlobalConfigurationModelConverter)1 EmailGlobalConfigurationModelSaveActions (com.synopsys.integration.alert.channel.email.convert.EmailGlobalConfigurationModelSaveActions)1 GlobalConfigurationModelToConcreteSaveActions (com.synopsys.integration.alert.common.action.api.GlobalConfigurationModelToConcreteSaveActions)1 GlobalConfigurationModelToConcreteConversionService (com.synopsys.integration.alert.web.api.config.GlobalConfigurationModelToConcreteConversionService)1