Class LikeNotification

  • public final class LikeNotification
    extends Object
    Represents a like notification.
    • Constructor Detail

      • LikeNotification

        public LikeNotification​(ConfluenceUser recipient,
                                com.atlassian.user.User liker,
                                com.atlassian.user.User author,
                                ContentEntityObject contentEntity,
                                com.atlassian.plugin.notifications.spi.UserRole role)
        Construct a like notification
        recipient - (required) the recipient
        liker - (required) the person who performed the "like"
        author - the author (can be null in the case of an anonymous contribution)
        contentEntity - the content entity being liked
        role -
    • Method Detail

      • hashCode

        public int hashCode()
        hashCode in class Object
      • getLiker

        public com.atlassian.user.User getLiker()
      • getAuthor

        public com.atlassian.user.User getAuthor()
      • getRole

        public com.atlassian.plugin.notifications.spi.UserRole getRole()