Interface Comment

    • Field Detail

      • getEntityId

        static final com.google.common.base.Function<Comment,​Long> getEntityId
        Function that returns Comment's entityId
      • orderingByMostRecentFirst

        static final com.google.common.collect.Ordering<Comment> orderingByMostRecentFirst
    • Method Detail

      • getContent

        @Nullable
        @Nullable String getContent()
        The actual comment that was added
      • setContent

        void setContent​(String content)
      • getEntityId

        long getEntityId()
        The id of object the comment was added to
      • setEntityId

        void setEntityId​(long entityId)
      • getLastModificationDate

        Date getLastModificationDate()
        The date the comment was last modified
        Returns:
      • getUser

        com.atlassian.user.User getUser()
        The user that created the comment
        Returns:
      • getUserName

        String getUserName()
        The username of the user that created the comment
        Returns:
      • setUserName

        void setUserName​(String userName)