public class WebHooks extends Object
| Constructor and Description |
|---|
WebHooks() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
createGogsWebhook(GitRepoClient repoClient,
org.slf4j.Logger log,
String gogsUser,
String repoName,
String webhookUrl,
String webhookSecret)
Creates a webook in the given gogs repo for the user and password if the webhook does not already exist
|
public static boolean createGogsWebhook(GitRepoClient repoClient, org.slf4j.Logger log, String gogsUser, String repoName, String webhookUrl, String webhookSecret) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2011–2016 Red Hat. All rights reserved.