Class Notification

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class Notification
    extends ConfluenceEntityObject
    A "Notification" is an email subscription or "watch" on some space.

    If page and space are set, it's a page notification If just space is set, it's a space notification If neither are set, it's a daily email subscription (Yeah, slightly dodgy, but it works)

    See Also:
    Serialized Form
    • Constructor Detail

      • Notification

        public Notification()
    • Method Detail

      • setReceiver

        public void setReceiver​(ConfluenceUser receiver)
      • getSpace

        public Space getSpace()
      • setSpace

        public void setSpace​(Space space)
      • isUserChange

        public boolean isUserChange()
      • isPageNotification

        public boolean isPageNotification()
      • isContentNotification

        public boolean isContentNotification()
      • isSpaceNotification

        public boolean isSpaceNotification()
      • isDigest

        public boolean isDigest()
      • setDigest

        public void setDigest​(boolean digest)
      • isNetworkNotification

        public boolean isNetworkNotification()
      • setNetwork

        public void setNetwork​(boolean network)
      • matchesContentType

        public boolean matchesContentType​(AbstractPage page)
        Returns true if this notification matches the type of the passed content object.
      • getWatchType

        public Notification.WatchType getWatchType()
        Returns a single enum value representing the combination of notification type, page, space and network settings.
      • getLabel

        public Label getLabel()
      • setLabel

        public void setLabel​(Label label)