Class GitLabMergeRequestCommentCause


  • public final class GitLabMergeRequestCommentCause
    extends Cause
    • Constructor Detail

      • GitLabMergeRequestCommentCause

        public GitLabMergeRequestCommentCause​(String commentUrl)
        Constructor.
        Parameters:
        commentUrl - the URL for the GitLab comment
      • GitLabMergeRequestCommentCause

        public GitLabMergeRequestCommentCause​(String commentUrl,
                                              org.gitlab4j.api.webhook.NoteEvent noteEvent)
        Constructor.
        Parameters:
        commentUrl - the URL for the GitLab comment
        noteEvent - note event
    • Method Detail

      • getCommentUrl

        public String getCommentUrl()
        Retrieves the URL for the GitLab comment for this cause.
        Returns:
        the URL for the GitLab comment
      • getGitLabMergeRequestNoteData

        public GitLabMergeRequestNoteData getGitLabMergeRequestNoteData()
        Retrieves the cause data
        Returns:
        cause data