Interface ServiceMessageNotifier

    • Method Detail

      • sendBuildRelatedNotification

        void sendBuildRelatedNotification​(@NotNull
                                          String message,
                                          @NotNull
                                          SRunningBuild runningBuild,
                                          @NotNull
                                          Map<String,​String> parameters)
                                   throws ServiceMessageNotificationException
        Method for sending a build-related notification, not tied to one of the notification events or notification rules. Meant for usage with `notification` service message. The implementation of this method should use a timeout to avoid having notification threads hanging around indefinitely.
        Parameters:
        message - message to be sent.
        runningBuild - the build that produced service message.
        parameters - map of parameters passed with service message.
        Throws:
        ServiceMessageNotificationException
      • getServiceMessageNotifierType

        @NotNull
        String getServiceMessageNotifierType()
        Unique type of the notificator.
        Returns:
        notifier unique key.