toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RobotDeploymentStep.validating:
      return 'Validating';
    case RobotDeploymentStep.downloadingExtracting:
      return 'DownloadingExtracting';
    case RobotDeploymentStep.executingDownloadCondition:
      return 'ExecutingDownloadCondition';
    case RobotDeploymentStep.executingPreLaunch:
      return 'ExecutingPreLaunch';
    case RobotDeploymentStep.launching:
      return 'Launching';
    case RobotDeploymentStep.executingPostLaunch:
      return 'ExecutingPostLaunch';
    case RobotDeploymentStep.finished:
      return 'Finished';
  }
}