org.jenkinsci.plugins.ghprb
Class GhprbCause

java.lang.Object
  extended by hudson.model.Cause
      extended by org.jenkinsci.plugins.ghprb.GhprbCause

public class GhprbCause
extends hudson.model.Cause

Author:
Honza Brázdil

Nested Class Summary
 
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)
           
 
Method Summary
 String getAbbreviatedTitle()
          Returns at most the first 30 characters of the title, or
 String getAuthorEmail()
           
 String getCommentBody()
           
 String getCommit()
           
 org.kohsuke.github.GitUser getCommitAuthor()
           
 String getDescription()
           
 int getPullID()
           
 org.kohsuke.github.GHUser getPullRequestAuthor()
           
 String getShortDescription()
           
 String getSourceBranch()
           
 String getTargetBranch()
           
 String getTitle()
          Returns the title of the cause, not null.
 org.kohsuke.github.GHUser getTriggerSender()
           
 URL getUrl()
           
 boolean isMerged()
           
 
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
 

Constructor Detail

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)
Method Detail

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()


Copyright © 2004-2015. All Rights Reserved.