Search in sources :

Example 1 with HookMessageProvider

use of sonia.scm.repository.api.HookMessageProvider in project scm-review-plugin by scm-manager.

the class NoOpMessageSender method sendMessages.

private void sendMessages(String[] messages, String url) {
    HookMessageProvider messageProvider = event.getContext().getMessageProvider();
    messageProvider.sendMessage("");
    Arrays.stream(messages).forEach(messageProvider::sendMessage);
    messageProvider.sendMessage(url);
    messageProvider.sendMessage("");
}
Also used : HookMessageProvider(sonia.scm.repository.api.HookMessageProvider)

Aggregations

HookMessageProvider (sonia.scm.repository.api.HookMessageProvider)1