org.jenkinsci.plugins.ghprb
Class GhprbRepository

java.lang.Object
  extended by org.jenkinsci.plugins.ghprb.GhprbRepository

public class GhprbRepository
extends Object

Author:
Honza Brázdil

Constructor Summary
GhprbRepository(String user, String repository, GhprbTrigger trigger)
           
 
Method Summary
 void addComment(int id, String comment)
           
 void addComment(int id, String comment, hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener)
           
 void check()
           
 void closePullRequest(int id)
           
 void commentOnFailure(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener, GhprbCommitStatusException ex)
           
 boolean createHook()
           
 org.kohsuke.github.GHRepository getGitHubRepo()
           
 String getName()
           
 org.kohsuke.github.GHPullRequest getPullRequest(int id)
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhprbRepository

public GhprbRepository(String user,
                       String repository,
                       GhprbTrigger trigger)
Method Detail

init

public void init()

check

public void check()

commentOnFailure

public void commentOnFailure(hudson.model.AbstractBuild<?,?> build,
                             hudson.model.TaskListener listener,
                             GhprbCommitStatusException ex)

getName

public String getName()

addComment

public void addComment(int id,
                       String comment)

addComment

public void addComment(int id,
                       String comment,
                       hudson.model.AbstractBuild<?,?> build,
                       hudson.model.TaskListener listener)

closePullRequest

public void closePullRequest(int id)

createHook

public boolean createHook()

getPullRequest

public org.kohsuke.github.GHPullRequest getPullRequest(int id)
                                                throws IOException
Throws:
IOException

getGitHubRepo

public org.kohsuke.github.GHRepository getGitHubRepo()


Copyright © 2004-2016. All Rights Reserved.