code: private void addLocalRuntimeDefinition(
            final AvroLocalAppSubmissionParameters localAppSubmissionParams,
            final AvroJobSubmissionParameters jobSubmissionParameters,
            final MultiRuntimeDefinitionBuilder builder) {
      // create and serialize local configuration if defined
      final Configuration localModule = LocalDriverConfiguration.CONF
              .set(LocalDriverConfiguration.MAX_NUMBER_OF_EVALUATORS,
                      localAppSubmissionParams.getMaxNumberOfConcurrentEvaluators())
              // ROOT FOLDER will point to the current runtime directory
              .set(LocalDriverConfiguration.ROOT_FOLDER, ".")
              .set(LocalDriverConfiguration.JVM_HEAP_SLACK, 0.0)
              .set(LocalDriverConfiguration.CLIENT_REMOTE_IDENTIFIER, ClientRemoteIdentifier.NONE)
              .set(LocalDriverConfiguration.JOB_IDENTIFIER,
                      jobSubmissionParameters.getJobId().toString())
              .set(LocalDriverConfiguration.RUNTIME_NAMES,
                      org.apache.reef.runtime.local.driver.RuntimeIdentifier.RUNTIME_NAME)
              .build();
  
      // add local runtime to the builder
      builder.addRuntime(localModule, org.apache.reef.runtime.local.driver.RuntimeIdentifier.RUNTIME_NAME);
    }
docs: Adds local runtime definitions to the builder.
  @param localAppSubmissionParams Local app submission parameters
  @param jobSubmissionParameters Generic job submission parameters
  @param builder The multi runtime builder