Class GitHubPullRequestLabelCause
java.lang.Object
hudson.model.Cause
com.adobe.jenkins.github_pr_comment_build.GitHubPullRequestLabelCause
- All Implemented Interfaces:
Serializable
Created by Agyaey on 04/04/2023.
- 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
ConstructorsConstructorDescriptionGitHubPullRequestLabelCause
(String labelUrl, String labellingAuthor, String label) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
Retrieves the body for the GitHub Label for this cause.Retrieves the author of the GitHub Label for this cause.Retrieves the URL for the GitHub Label for this cause.
-
Constructor Details
-
GitHubPullRequestLabelCause
Constructor.- Parameters:
labelUrl
- the URL for the GitHub LabellabellingAuthor
- the author of the GitHub Labellabel
- the body for the GitHub Label
-
-
Method Details
-
getShortDescription
- Specified by:
getShortDescription
in classCause
-
getLabelUrl
Retrieves the URL for the GitHub Label for this cause.- Returns:
- the URL for the GitHub Label
-
getLabellingAuthor
Retrieves the author of the GitHub Label for this cause.- Returns:
- the author of the GitHub Label
-
getLabel
Retrieves the body for the GitHub Label for this cause.- Returns:
- the body for the GitHub Label
-