org.jenkinsci.plugins.ghprb
Class GhprbWebHook

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

public class GhprbWebHook
extends Object


Constructor Summary
GhprbWebHook(GhprbTrigger trigger)
           
 
Method Summary
 boolean checkSignature(String body, String signature)
           
 org.kohsuke.github.GitHub getGitHub()
           
 String getProjectName()
           
 void handleComment(org.kohsuke.github.GHEventPayload.IssueComment issueComment)
           
 void handlePR(org.kohsuke.github.GHEventPayload.PullRequest pr)
           
 boolean matchRepo(String hookRepoName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhprbWebHook

public GhprbWebHook(GhprbTrigger trigger)
Method Detail

getGitHub

public org.kohsuke.github.GitHub getGitHub()
                                    throws IOException
Throws:
IOException

matchRepo

public boolean matchRepo(String hookRepoName)

getProjectName

public String getProjectName()

handleComment

public void handleComment(org.kohsuke.github.GHEventPayload.IssueComment issueComment)
                   throws IOException
Throws:
IOException

handlePR

public void handlePR(org.kohsuke.github.GHEventPayload.PullRequest pr)
              throws IOException
Throws:
IOException

checkSignature

public boolean checkSignature(String body,
                              String signature)


Copyright © 2004-2015. All Rights Reserved.