// Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.devtools.build.lib.runtime;
import com.google.common.collect.ImmutableMap;
import com.google.devtools.build.lib.util.OptionsUtils;
import com.google.devtools.build.lib.vfs.PathFragment;
import com.google.devtools.common.options.Converter;
import com.google.devtools.common.options.Option;
import com.google.devtools.common.options.OptionsBase;
import java.util.Map;
/**
* Options that will be evaluated by the blaze client startup code and passed
* to the blaze server upon startup.
*
*
IMPORTANT
These options and their defaults must be kept in sync with those in the
* source of the launcher. The latter define the actual default values; this class exists only to
* provide the help message, which displays the default values.
*
* The same relationship holds between {@link HostJvmStartupOptions} and the launcher.
*/
public class BlazeServerStartupOptions extends OptionsBase {
/**
* Converter for the option_sources
option. Takes a string in the form of
* "option_name1:source1:option_name2:source2:.." and converts it into an option name to
* source map.
*/
public static class OptionSourcesConverter implements Converter