maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeManager.java [112:132]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        return result.shouldPersist();
      case USER_ERROR:
        markTerminatedWithMetric(
            runtimeSummary, result.getState(), getUserErrorStatus(runtimeSummary));
        return false;
      case PLATFORM_ERROR:
        markTerminatedWithMetric(
            runtimeSummary, result.getState(), getPlatformErrorStatus(runtimeSummary));
        return false;
      case FATAL_ERROR:
        markTerminatedWithMetric(
            runtimeSummary, result.getState(), StepInstance.Status.FATALLY_FAILED);
        return false;
      case STOPPED:
        markTerminatedWithMetric(runtimeSummary, result.getState(), StepInstance.Status.STOPPED);
        return false;
      case TIMED_OUT:
        markTerminatedWithMetric(runtimeSummary, result.getState(), StepInstance.Status.TIMED_OUT);
        return false;
      default:
        throw new MaestroInternalError(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeManager.java [156:176]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        return result.shouldPersist();
      case USER_ERROR:
        markTerminatedWithMetric(
            runtimeSummary, result.getState(), getUserErrorStatus(runtimeSummary));
        return false;
      case PLATFORM_ERROR:
        markTerminatedWithMetric(
            runtimeSummary, result.getState(), getPlatformErrorStatus(runtimeSummary));
        return false;
      case FATAL_ERROR:
        markTerminatedWithMetric(
            runtimeSummary, result.getState(), StepInstance.Status.FATALLY_FAILED);
        return false;
      case STOPPED:
        markTerminatedWithMetric(runtimeSummary, result.getState(), StepInstance.Status.STOPPED);
        return false;
      case TIMED_OUT:
        markTerminatedWithMetric(runtimeSummary, result.getState(), StepInstance.Status.TIMED_OUT);
        return false;
      default:
        throw new MaestroInternalError(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



