Class GitHubPullRequestUpdateCause
- java.lang.Object
-
- hudson.model.Cause
-
- com.adobe.jenkins.github_pr_comment_build.GitHubPullRequestUpdateCause
-
- All Implemented Interfaces:
Serializable
public final class GitHubPullRequestUpdateCause extends Cause implements Serializable
Created by saville on 10/13/2016.- See Also:
- Serialized Form
-
-
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 GitHubPullRequestUpdateCause(String pullRequestUrl)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPullRequestUrl()
Retrieves the URL for the GitHub pull request for this cause.String
getShortDescription()
-
-
-
Constructor Detail
-
GitHubPullRequestUpdateCause
public GitHubPullRequestUpdateCause(String pullRequestUrl)
Constructor.- Parameters:
pullRequestUrl
- the URL for the GitHub comment
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in classCause
-
getPullRequestUrl
@Exported(visibility=3) public String getPullRequestUrl()
Retrieves the URL for the GitHub pull request for this cause.- Returns:
- the URL for the GitHub pull request
-
-