public interface WebhookResponseDetails extends WebhookResponse, BambooObject
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
String |
getRequestBody() |
String |
getRequestHeaders() |
String |
getResponseBody() |
String |
getResponseHeaders() |
void |
setMessage(String message)
Set a informative message about why webhook response was "TIMEOUT" or "ERROR"
|
void |
setReceiveTime(Date receiveTime)
Set time of receiving webhook response.
|
void |
setResponseBody(String responseBody)
Set response body of webhook response.
|
void |
setResponseHeaders(String responseHeaders)
Set response headers of webhook response.
|
void |
setResponseStatus(WebhookResponseStatus responseStatus)
Set status of webhook response.
|
void |
setStatusCode(Integer statusCode)
Set status code of received webhook response.
|
getDeploymentResultId, getEventName, getHttpMethod, getPlanResultKey, getReceiveTime, getResponseStatus, getRetriesCount, getSendTime, getStatusCode, getTemplateName, getUrl, getUuid
setId
getId
String getRequestBody()
String getRequestHeaders()
void setResponseBody(String responseBody)
responseBody
- body of received response.void setResponseHeaders(String responseHeaders)
responseHeaders
- headers of received response.void setStatusCode(Integer statusCode)
statusCode
- status code of received responsevoid setResponseStatus(WebhookResponseStatus responseStatus)
responseStatus
- status of webhook response. Possible values: "PENDING", "ERROR", "TIMEOUT", "FINISHED".void setReceiveTime(Date receiveTime)
receiveTime
- time in the moment when response status is changed from "PENDING" to any other state.void setMessage(String message)
message
- information about failure of webhook responseCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.