Example usage for com.amazonaws.services.cloudformation.model StackStatus UPDATE_IN_PROGRESS

List of usage examples for com.amazonaws.services.cloudformation.model StackStatus UPDATE_IN_PROGRESS

Introduction

In this page you can find the example usage for com.amazonaws.services.cloudformation.model StackStatus UPDATE_IN_PROGRESS.

Prototype

StackStatus UPDATE_IN_PROGRESS

To view the source code for com.amazonaws.services.cloudformation.model StackStatus UPDATE_IN_PROGRESS.

Click Source Link

Usage

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

License:Apache License

@NotNull
private String getHumanReadableStatus(@NotNull String status) {
    if (StackStatus.CREATE_IN_PROGRESS.toString().equals(status))
        return "launching";
    if (StackStatus.UPDATE_IN_PROGRESS.toString().equals(status))
        return "updating";
    if (StackStatus.CREATE_COMPLETE.toString().equals(status))
        return "ready";
    if (StackStatus.DELETE_COMPLETE.toString().equals(status))
        return "terminated";
    if (StackStatus.DELETE_IN_PROGRESS.toString().equals(status))
        return "terminating";
    return CloudFormationConstants.STATUS_IS_UNKNOWN;
}