org.jenkinsci.plugins.ghprb
Class GhprbWebHook
java.lang.Object
org.jenkinsci.plugins.ghprb.GhprbWebHook
public class GhprbWebHook
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GhprbWebHook
public GhprbWebHook(GhprbTrigger trigger)
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.