code: @PublicEvolving
  	public static ExecutionEnvironment createLocalEnvironmentWithWebUI(Configuration conf) {
  		checkNotNull(conf, "conf");
  
  		conf.setBoolean(ConfigConstants.LOCAL_START_WEBSERVER, true);
  
  		if (!conf.contains(RestOptions.PORT)) {
  			// explicitly set this option so that it's not set to 0 later
  			conf.setInteger(RestOptions.PORT, RestOptions.PORT.defaultValue());
  		}
  
  		return createLocalEnvironment(conf, -1);
  	}
docs: Creates a {@link LocalEnvironment} for local program execution that also starts the
  web monitoring UI.
  
  <p>The local execution environment will run the program in a multi-threaded fashion in
  the same JVM as the environment was created in. It will use the parallelism specified in the
  parameter.
  
  <p>If the configuration key 'rest.port' was set in the configuration, that particular
  port will be used for the web UI. Otherwise, the default port (8081) will be used.