Class GitHubPullRequestCommentCause
java.lang.Object
hudson.model.Cause
com.adobe.jenkins.github_pr_comment_build.GitHubPullRequestCommentCause
- All Implemented Interfaces:
Serializable
Created by saville on 10/13/2016.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
Constructor Summary
ConstructorsConstructorDescriptionGitHubPullRequestCommentCause
(String commentUrl, String commentAuthor, String commentBody) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the author of the GitHub comment for this cause.Retrieves the body for the GitHub comment for this cause.Retrieves the URL for the GitHub comment for this cause.
-
Constructor Details
-
GitHubPullRequestCommentCause
Constructor.- Parameters:
commentUrl
- the URL for the GitHub commentcommentAuthor
- the author of the GitHub commentcommentBody
- the body for the GitHub comment
-
-
Method Details
-
getShortDescription
- Specified by:
getShortDescription
in classCause
-
getCommentUrl
Retrieves the URL for the GitHub comment for this cause.- Returns:
- the URL for the GitHub comment
-
getCommentAuthor
Retrieves the author of the GitHub comment for this cause.- Returns:
- the author of the GitHub comment
-
getCommentBody
Retrieves the body for the GitHub comment for this cause.- Returns:
- the body for the GitHub comment
-