code: @PublicEvolving
  	@SuppressWarnings("deprecation")
  	public RestartStrategies.RestartStrategyConfiguration getRestartStrategy() {
  		if (restartStrategyConfiguration instanceof RestartStrategies.FallbackRestartStrategyConfiguration) {
  			// support the old API calls by creating a restart strategy from them
  			if (getNumberOfExecutionRetries() > 0 && getExecutionRetryDelay() >= 0) {
  				return RestartStrategies.fixedDelayRestart(getNumberOfExecutionRetries(), getExecutionRetryDelay());
  			} else if (getNumberOfExecutionRetries() == 0) {
  				return RestartStrategies.noRestart();
  			} else {
  				return restartStrategyConfiguration;
  			}
  		} else {
  			return restartStrategyConfiguration;
  		}
  	}
docs: Returns the restart strategy which has been set for the current job.
  
  @return The specified restart configuration