toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SystemInstanceDeploymentStatus.notDeployed:
      return 'NOT_DEPLOYED';
    case SystemInstanceDeploymentStatus.bootstrap:
      return 'BOOTSTRAP';
    case SystemInstanceDeploymentStatus.deployInProgress:
      return 'DEPLOY_IN_PROGRESS';
    case SystemInstanceDeploymentStatus.deployedInTarget:
      return 'DEPLOYED_IN_TARGET';
    case SystemInstanceDeploymentStatus.undeployInProgress:
      return 'UNDEPLOY_IN_PROGRESS';
    case SystemInstanceDeploymentStatus.failed:
      return 'FAILED';
    case SystemInstanceDeploymentStatus.pendingDelete:
      return 'PENDING_DELETE';
    case SystemInstanceDeploymentStatus.deletedInTarget:
      return 'DELETED_IN_TARGET';
  }
}