Class ChangesetDiscussionComment

    • Field Detail

      • date

        private final Instant date
        date this comment was posted at
      • user

        private final User user
        the user who posted the comment
    • Constructor Detail

      • ChangesetDiscussionComment

        public ChangesetDiscussionComment​(Instant date,
                                          User user)
        Constructs a new ChangesetDiscussionComment.
        Parameters:
        date - date this comment was posted at
        user - the user who posted the comment
    • Method Detail

      • getText

        public final String getText()
        Replies comment text.
        Returns:
        comment text
      • setText

        public final void setText​(String text)
        Sets comment text.
        Parameters:
        text - comment text
      • getDate

        public final Instant getDate()
        Replies date this comment was posted at.
        Returns:
        date this comment was posted at
      • getUser

        public final User getUser()
        Replies the user who posted the comment.
        Returns:
        the user who posted the comment