Example usage for com.amazonaws.services.codedeploy.model DeploymentStatus Queued

List of usage examples for com.amazonaws.services.codedeploy.model DeploymentStatus Queued

Introduction

In this page you can find the example usage for com.amazonaws.services.codedeploy.model DeploymentStatus Queued.

Prototype

DeploymentStatus Queued

To view the source code for com.amazonaws.services.codedeploy.model DeploymentStatus Queued.

Click Source Link

Usage

From source file:jetbrains.buildServer.runner.codedeploy.AWSClient.java

License:Apache License

@NotNull
private String getHumanReadableStatus(@NotNull String status) {
    if (DeploymentStatus.Created.toString().equals(status))
        return "created";
    if (DeploymentStatus.Queued.toString().equals(status))
        return "queued";
    if (DeploymentStatus.InProgress.toString().equals(status))
        return "in progress";
    if (DeploymentStatus.Succeeded.toString().equals(status))
        return "succeeded";
    if (DeploymentStatus.Failed.toString().equals(status))
        return "failed";
    if (DeploymentStatus.Stopped.toString().equals(status))
        return "stopped";
    return CodeDeployConstants.STATUS_IS_UNKNOWN;
}