Class JiraDeploymentInfoResponse
java.lang.Object
com.atlassian.jira.cloud.jenkins.common.response.JiraSendInfoResponse
com.atlassian.jira.cloud.jenkins.deploymentinfo.service.JiraDeploymentInfoResponse
- 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
ConstructorDescriptionJiraDeploymentInfoResponse
(String jiraSite, JiraSendInfoResponse.Status status, String message) -
Method Summary
Modifier and TypeMethodDescriptionstatic JiraDeploymentInfoResponse
failureDeploymentRejected
(String jiraSite, DeploymentApiResponse response) static JiraDeploymentInfoResponse
failureDeploymentsApiResponse
(String jiraSite, String errorMessage) static JiraSendInfoResponse
failureEnvironmentInvalid
(String jiraSite, List<String> errorMessages) static JiraDeploymentInfoResponse
static JiraSendInfoResponse
failureStateInvalid
(String jiraSite, List<String> errorMessages) static JiraDeploymentInfoResponse
failureUnexpectedResponse
(String jiraSite) static JiraDeploymentInfoResponse
failureUnknownAssociations
(String jiraSite, DeploymentApiResponse response) static JiraSendInfoResponse
static JiraDeploymentInfoResponse
successDeploymentAccepted
(String jiraSite, DeploymentApiResponse response) Methods inherited from class com.atlassian.jira.cloud.jenkins.common.response.JiraSendInfoResponse
equals, getJiraSite, getMessage, getStatus, hashCode
-
Constructor Details
-
JiraDeploymentInfoResponse
public JiraDeploymentInfoResponse(String jiraSite, JiraSendInfoResponse.Status status, String message)
-
-
Method Details
-
failureEnvironmentInvalid
public static JiraSendInfoResponse failureEnvironmentInvalid(String jiraSite, List<String> errorMessages) -
skippedIssueKeysNotFoundAndServiceIdsAreEmpty
-
successDeploymentAccepted
public static JiraDeploymentInfoResponse successDeploymentAccepted(String jiraSite, DeploymentApiResponse response) -
failureDeploymentRejected
public static JiraDeploymentInfoResponse failureDeploymentRejected(String jiraSite, DeploymentApiResponse response) -
failureUnknownAssociations
public static JiraDeploymentInfoResponse failureUnknownAssociations(String jiraSite, DeploymentApiResponse response) -
failureUnexpectedResponse
-
failureDeploymentsApiResponse
public static JiraDeploymentInfoResponse failureDeploymentsApiResponse(String jiraSite, String errorMessage) -
failureGatingManyJiras
-
failureStateInvalid
-