Class BambooNotificationUtils

java.lang.Object
com.atlassian.bamboo.utils.BambooNotificationUtils

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

    • BambooNotificationUtils

      public BambooNotificationUtils()
  • Method Details

    • 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