Package com.atlassian.bamboo.webhook
Interface WebhookTemplate
- All Superinterfaces:
BambooIdProvider
,BambooObject
,NameProvider
- All Known Implementing Classes:
WebhookTemplateEntity
-
Method Summary
Modifier and TypeMethodDescriptionReturns unparsed headers.Return Http Method.Returns http request body.void
setHeaders
(String headers) void
setHttpMethod
(HttpMethod httpMethod) void
void
setPayload
(String payload) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.utils.NameProvider
getName
-
Method Details
-
getHttpMethod
HttpMethod getHttpMethod()Return Http Method. Supported Methods :- Returns:
-
setHttpMethod
-
getHeaders
String getHeaders()Returns unparsed headers. Bamboo variables are supported here in format ${bammbo.variableName}. One header for one line, key and value separated by ':'- Returns:
- unparsed headers
-
setHeaders
-
getPayload
String getPayload()Returns http request body. It can be i.e. json, xml. Bamboo variables are supported here in format ${bammbo.variableName}.- Returns:
- payload
-
setPayload
-
setName
-