toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AppLaunchStatus.readyForConfiguration:
      return 'READY_FOR_CONFIGURATION';
    case AppLaunchStatus.configurationInProgress:
      return 'CONFIGURATION_IN_PROGRESS';
    case AppLaunchStatus.configurationInvalid:
      return 'CONFIGURATION_INVALID';
    case AppLaunchStatus.readyForLaunch:
      return 'READY_FOR_LAUNCH';
    case AppLaunchStatus.validationInProgress:
      return 'VALIDATION_IN_PROGRESS';
    case AppLaunchStatus.launchPending:
      return 'LAUNCH_PENDING';
    case AppLaunchStatus.launchInProgress:
      return 'LAUNCH_IN_PROGRESS';
    case AppLaunchStatus.launched:
      return 'LAUNCHED';
    case AppLaunchStatus.partiallyLaunched:
      return 'PARTIALLY_LAUNCHED';
    case AppLaunchStatus.deltaLaunchInProgress:
      return 'DELTA_LAUNCH_IN_PROGRESS';
    case AppLaunchStatus.deltaLaunchFailed:
      return 'DELTA_LAUNCH_FAILED';
    case AppLaunchStatus.launchFailed:
      return 'LAUNCH_FAILED';
    case AppLaunchStatus.terminateInProgress:
      return 'TERMINATE_IN_PROGRESS';
    case AppLaunchStatus.terminateFailed:
      return 'TERMINATE_FAILED';
    case AppLaunchStatus.terminated:
      return 'TERMINATED';
  }
}