toValue method
Implementation
String toValue() {
switch (this) {
case StackStatus.createInProgress:
return 'CREATE_IN_PROGRESS';
case StackStatus.createFailed:
return 'CREATE_FAILED';
case StackStatus.createComplete:
return 'CREATE_COMPLETE';
case StackStatus.rollbackInProgress:
return 'ROLLBACK_IN_PROGRESS';
case StackStatus.rollbackFailed:
return 'ROLLBACK_FAILED';
case StackStatus.rollbackComplete:
return 'ROLLBACK_COMPLETE';
case StackStatus.deleteInProgress:
return 'DELETE_IN_PROGRESS';
case StackStatus.deleteFailed:
return 'DELETE_FAILED';
case StackStatus.deleteComplete:
return 'DELETE_COMPLETE';
case StackStatus.updateInProgress:
return 'UPDATE_IN_PROGRESS';
case StackStatus.updateCompleteCleanupInProgress:
return 'UPDATE_COMPLETE_CLEANUP_IN_PROGRESS';
case StackStatus.updateComplete:
return 'UPDATE_COMPLETE';
case StackStatus.updateRollbackInProgress:
return 'UPDATE_ROLLBACK_IN_PROGRESS';
case StackStatus.updateRollbackFailed:
return 'UPDATE_ROLLBACK_FAILED';
case StackStatus.updateRollbackCompleteCleanupInProgress:
return 'UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS';
case StackStatus.updateRollbackComplete:
return 'UPDATE_ROLLBACK_COMPLETE';
case StackStatus.reviewInProgress:
return 'REVIEW_IN_PROGRESS';
case StackStatus.importInProgress:
return 'IMPORT_IN_PROGRESS';
case StackStatus.importComplete:
return 'IMPORT_COMPLETE';
case StackStatus.importRollbackInProgress:
return 'IMPORT_ROLLBACK_IN_PROGRESS';
case StackStatus.importRollbackFailed:
return 'IMPORT_ROLLBACK_FAILED';
case StackStatus.importRollbackComplete:
return 'IMPORT_ROLLBACK_COMPLETE';
}
}