Class JiraGatingStatusResponse
java.lang.Object
com.atlassian.jira.cloud.jenkins.common.response.JiraSendInfoResponse
com.atlassian.jira.cloud.jenkins.checkgatingstatus.service.JiraGatingStatusResponse
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.jira.cloud.jenkins.common.response.JiraSendInfoResponse
JiraSendInfoResponse.Status
-
Constructor Summary
ConstructorDescriptionJiraGatingStatusResponse
(String jiraSite, JiraSendInfoResponse.Status status, String message, GatingStatus gatingStatus) -
Method Summary
Modifier and TypeMethodDescriptionstatic JiraGatingStatusResponse
static JiraGatingStatusResponse
of
(JiraSendInfoResponse response) static JiraGatingStatusResponse
success
(String jiraSite, GatingStatusResponse gatingStatusResponse) Methods inherited from class com.atlassian.jira.cloud.jenkins.common.response.JiraSendInfoResponse
equals, getJiraSite, getMessage, getStatus, hashCode
-
Constructor Details
-
JiraGatingStatusResponse
public JiraGatingStatusResponse(String jiraSite, JiraSendInfoResponse.Status status, String message, @Nullable GatingStatus gatingStatus)
-
-
Method Details
-
of
-
success
public static JiraGatingStatusResponse success(String jiraSite, GatingStatusResponse gatingStatusResponse) -
failure
-
getGatingStatus
-