Class GitLabMergeRequestCommentCause
java.lang.Object
hudson.model.Cause
io.jenkins.plugins.gitlabbranchsource.GitLabMergeRequestCommentCause
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
Constructor Summary
ConstructorDescriptionGitLabMergeRequestCommentCause
(String commentUrl) Constructor.GitLabMergeRequestCommentCause
(String commentUrl, org.gitlab4j.api.webhook.NoteEvent noteEvent) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the URL for the GitLab comment for this cause.Retrieves the cause data
-
Constructor Details
-
GitLabMergeRequestCommentCause
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 Details
-
getShortDescription
- Specified by:
getShortDescription
in classCause
-
getCommentUrl
Retrieves the URL for the GitLab comment for this cause.- Returns:
- the URL for the GitLab comment
-
getGitLabMergeRequestNoteData
Retrieves the cause data- Returns:
- cause data
-