public class WebHookRegistrationClient extends com.atlassian.jira.testkit.client.RestApiClient<WebHookRegistrationClient>
Modifier and Type | Class and Description |
---|---|
static class |
WebHookRegistrationClient.Registration |
static class |
WebHookRegistrationClient.RegistrationResponse |
Modifier and Type | Field and Description |
---|---|
static String |
ISSUES_SECTION_KEY |
Constructor and Description |
---|
WebHookRegistrationClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
protected com.sun.jersey.api.client.WebResource |
createResource() |
com.sun.jersey.api.client.WebResource |
createResource(String rawUrl) |
void |
delete(String id) |
void |
disable(String id) |
void |
enable(String id) |
List<WebHookRegistrationClient.RegistrationResponse> |
getAllWebHooks() |
WebHookRegistrationClient.RegistrationResponse |
getWebHook(String id) |
WebHookRegistrationClient.RegistrationResponse |
register(WebHookRegistrationClient.Registration registration) |
WebHookRegistrationClient.RegistrationResponse |
update(String id,
WebHookRegistrationClient.Registration registration) |
void |
updateStatus(String id,
WebHookRegistrationClient.Registration registration) |
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public static final String ISSUES_SECTION_KEY
public WebHookRegistrationClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
public WebHookRegistrationClient.RegistrationResponse register(WebHookRegistrationClient.Registration registration)
public WebHookRegistrationClient.RegistrationResponse getWebHook(String id)
public void delete(String id)
public List<WebHookRegistrationClient.RegistrationResponse> getAllWebHooks()
public void updateStatus(String id, WebHookRegistrationClient.Registration registration)
public WebHookRegistrationClient.RegistrationResponse update(String id, WebHookRegistrationClient.Registration registration)
protected com.sun.jersey.api.client.WebResource createResource()
createResource
in class com.atlassian.jira.testkit.client.RestApiClient<WebHookRegistrationClient>
public com.sun.jersey.api.client.WebResource createResource(String rawUrl)
public void enable(String id)
public void disable(String id)
Copyright © 2002-2023 Atlassian. All Rights Reserved.