Class GitLabMergeRequestCommentCause
- java.lang.Object
-
- hudson.model.Cause
-
- io.jenkins.plugins.gitlabbranchsource.GitLabMergeRequestCommentCause
-
public final class GitLabMergeRequestCommentCause extends Cause
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
-
Constructor Summary
Constructors Constructor Description GitLabMergeRequestCommentCause(String commentUrl)
Constructor.GitLabMergeRequestCommentCause(String commentUrl, org.gitlab4j.api.webhook.NoteEvent noteEvent)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommentUrl()
Retrieves the URL for the GitLab comment for this cause.GitLabMergeRequestNoteData
getGitLabMergeRequestNoteData()
Retrieves the cause dataString
getShortDescription()
-
-
-
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 commentnoteEvent
- note event
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in classCause
-
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
-
-