org.jenkinsci.plugins.ghprb
Class GhprbCause
java.lang.Object
hudson.model.Cause
org.jenkinsci.plugins.ghprb.GhprbCause
public class GhprbCause
- extends hudson.model.Cause
- Author:
- Honza Brázdil
Nested classes/interfaces inherited from class hudson.model.Cause |
hudson.model.Cause.LegacyCodeCause, hudson.model.Cause.RemoteCause, hudson.model.Cause.UpstreamCause, hudson.model.Cause.UserCause, hudson.model.Cause.UserIdCause |
Constructor Summary |
GhprbCause(String commit,
int pullID,
boolean merged,
String targetBranch,
String sourceBranch,
String authorEmail,
String title,
URL url,
org.kohsuke.github.GHUser triggerSender,
String commentBody,
org.kohsuke.github.GitUser commitAuthor,
org.kohsuke.github.GHUser pullRequestAuthor,
String description,
String authorRepoGitUrl)
|
Methods inherited from class hudson.model.Cause |
onAddedTo, print |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GhprbCause
public GhprbCause(String commit,
int pullID,
boolean merged,
String targetBranch,
String sourceBranch,
String authorEmail,
String title,
URL url,
org.kohsuke.github.GHUser triggerSender,
String commentBody,
org.kohsuke.github.GitUser commitAuthor,
org.kohsuke.github.GHUser pullRequestAuthor,
String description,
String authorRepoGitUrl)
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in class hudson.model.Cause
getCommit
public String getCommit()
isMerged
public boolean isMerged()
getPullID
public int getPullID()
getTargetBranch
public String getTargetBranch()
getSourceBranch
public String getSourceBranch()
getAuthorEmail
public String getAuthorEmail()
getUrl
public URL getUrl()
getTriggerSender
public org.kohsuke.github.GHUser getTriggerSender()
getCommentBody
public String getCommentBody()
getPullRequestAuthor
public org.kohsuke.github.GHUser getPullRequestAuthor()
getTitle
public String getTitle()
- Returns the title of the cause, not null.
- Returns:
getAbbreviatedTitle
public String getAbbreviatedTitle()
- Returns at most the first 30 characters of the title, or
- Returns:
getCommitAuthor
public org.kohsuke.github.GitUser getCommitAuthor()
getDescription
public String getDescription()
getAuthorRepoGitUrl
public String getAuthorRepoGitUrl()
Copyright © 2004-2015. All Rights Reserved.