@Entity public class WebhookTemplateEntity extends HibernateEntityObject implements WebhookTemplate
Modifier and Type | Class and Description |
---|---|
static class |
WebhookTemplateEntity.Builder |
Constructor and Description |
---|
WebhookTemplateEntity() |
WebhookTemplateEntity(org.springframework.http.HttpMethod httpMethod,
String headers,
String jsonPayload,
String name) |
Modifier and Type | Method and Description |
---|---|
static WebhookTemplateEntity.Builder |
builder() |
String |
getHeaders()
Returns unparsed headers.
|
org.springframework.http.HttpMethod |
getHttpMethod()
Return Http Method.
|
String |
getName() |
String |
getPayload()
Returns http request body.
|
UUID |
getUuid() |
void |
setHeaders(String headers) |
void |
setHttpMethod(org.springframework.http.HttpMethod httpMethod) |
void |
setName(String name) |
void |
setPayload(String payload) |
void |
setUuid(UUID uuid) |
getId, setId
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setId
getId
public org.springframework.http.HttpMethod getHttpMethod()
WebhookTemplate
HttpMethod.POST
HttpMethod.GET
HttpMethod.PUT
HttpMethod.DELETE
getHttpMethod
in interface WebhookTemplate
public String getHeaders()
WebhookTemplate
getHeaders
in interface WebhookTemplate
public String getPayload()
WebhookTemplate
getPayload
in interface WebhookTemplate
public String getName()
getName
in interface NameProvider
public void setHttpMethod(org.springframework.http.HttpMethod httpMethod)
setHttpMethod
in interface WebhookTemplate
public void setHeaders(String headers)
setHeaders
in interface WebhookTemplate
public void setPayload(String payload)
setPayload
in interface WebhookTemplate
public void setName(String name)
setName
in interface WebhookTemplate
public UUID getUuid()
public void setUuid(UUID uuid)
public static WebhookTemplateEntity.Builder builder()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.