Class GitLabMergeRequestCommentCause

java.lang.Object
hudson.model.Cause
io.jenkins.plugins.gitlabbranchsource.GitLabMergeRequestCommentCause

public final class GitLabMergeRequestCommentCause extends Cause
  • Constructor Details

    • 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 Details

    • getShortDescription

      public String getShortDescription()
      Specified by:
      getShortDescription in class Cause
    • 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