Class ChangesetDiscussionComment

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.time.Instant date
      date this comment was posted at
      private java.lang.String text
      comment text
      private User user
      the user who posted the comment
    • Constructor Summary

      Constructors 
      Constructor Description
      ChangesetDiscussionComment​(java.time.Instant date, User user)
      Constructs a new ChangesetDiscussionComment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Instant getDate()
      Replies date this comment was posted at.
      java.lang.String getText()
      Replies comment text.
      User getUser()
      Replies the user who posted the comment.
      void setText​(java.lang.String text)
      Sets comment text.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • date

        private final java.time.Instant date
        date this comment was posted at
      • user

        private final User user
        the user who posted the comment
      • text

        private java.lang.String text
        comment text
    • Constructor Detail

      • ChangesetDiscussionComment

        public ChangesetDiscussionComment​(java.time.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 java.lang.String getText()
        Replies comment text.
        Returns:
        comment text
      • setText

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

        public final java.time.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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object