public interface

Notification

com.atlassian.bitbucket.notification.Notification
Known Indirect Subclasses

Class Overview

A single Notification within the system

Summary

Public Methods
@Nonnull Date getTimestamp()
@Nullable ApplicationUser getUser()
@Nullable @Deprecated Watchable getWatchable()
This method is deprecated. in 5.10 to become non-null in 6.0

Public Methods

@Nonnull public Date getTimestamp ()

Returns
  • when the activity that triggered this Notification was performed

@Nullable public ApplicationUser getUser ()

Returns
  • the ApplicationUser who performed the activity which triggered this Notification

@Nullable @Deprecated public Watchable getWatchable ()

This method is deprecated.
in 5.10 to become non-null in 6.0

Returns
  • the Watchable associated with the notification