Class BambooNotificationUtils


  • public class BambooNotificationUtils
    extends Object
    Utility methods for working with notifications.
    • Constructor Detail

      • BambooNotificationUtils

        public BambooNotificationUtils()
    • Method Detail

      • createNotification

        @NotNull
        public static <T extends Notification> T createNotification​(@NotNull
                                                                    @NotNull Class<T> notificationClass)
        Creates new instance of a Notification. The newly created object is a fully initialized Spring component, with all dependencies injected.
        Type Parameters:
        T - type of the notification
        Parameters:
        notificationClass - class of the notification
        Returns:
        new notification instance