Class CommitDiscussionCommentEditedEvent

All Implemented Interfaces:
Serializable

@AsynchronousPreferred public class CommitDiscussionCommentEditedEvent extends CommitDiscussionCommentEvent
Event that is raised when a comment is edited in a commit discussion.
See Also:
  • Constructor Details

    • CommitDiscussionCommentEditedEvent

      public CommitDiscussionCommentEditedEvent(@Nonnull Object source, @Nonnull CommitDiscussion discussion, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull String previousText, @Nonnull CommentSeverity previousSeverity, @Nonnull CommentState previousState)
      Parameters:
      source - the component raising the event
      discussion - the commit discussion this comment relates to
      comment - the comment
      parent - the parent of this comment, or null if this is a top-level comment
      previousText - the previous text of the comment
      previousSeverity - the previous severity of the comment
      previousState - the previous state of the comment
      Since:
      6.7
  • Method Details

    • getPreviousSeverity

      @Nonnull public CommentSeverity getPreviousSeverity()
      Since:
      6.7
    • getPreviousState

      @Nonnull public CommentState getPreviousState()
      Since:
      6.7
    • getPreviousText

      @Nonnull public String getPreviousText()