/** * Private constructor. * * @param api the API for the builder */ private GoogleClientSecretsForApiBuilder(Api api) { this(new ConfigurationHelper(), api); }
/** * Constructs an empty builder. To construct a builder initialized to the settings of an * existing {@link AdManagerSession}, use {@link AdManagerSession#newBuilder()} instead. */ public Builder() { this.configHelper = new ConfigurationHelper(); }
/** * Private constructor. * * @param api the API for the builder */ private GoogleClientSecretsForApiBuilder(Api api) { this(new ConfigurationHelper(), api); }
/** * Private constructor. * * @param oAuthConfig the API OAuth configuration for the builder * @param oAuth2Helper the OAuth2 helper */ private ForApiBuilder(OAuthConfig oAuthConfig, OAuth2Helper oAuth2Helper) { this(new ConfigurationHelper(), oAuthConfig, oAuth2Helper); }
/** * Constructor. */ public AxisModule() { this(new ConfigurationHelper()); }
/** * Private constructor. * * @param oAuthConfig the API OAuth configuration for the builder * @param oAuth2Helper the OAuth2 helper */ private ForApiBuilder(OAuthConfig oAuthConfig, OAuth2Helper oAuth2Helper) { this(new ConfigurationHelper(), oAuthConfig, oAuth2Helper); }
/** * Constructs an empty builder. To construct a builder initialized to the settings of * an existing {@link AdWordsSession}, use {@link AdWordsSession#newBuilder()} instead. */ public Builder() { this.configHelper = new ConfigurationHelper(); }
/** * Constructs an empty builder. To construct a builder initialized to the settings of an * existing {@link AdManagerSession}, use {@link AdManagerSession#newBuilder()} instead. */ public Builder() { this.configHelper = new ConfigurationHelper(); }
/** * Constructor. */ public AxisModule() { this(new ConfigurationHelper()); }
/** * Constructs an empty builder. To construct a builder initialized to the settings of * an existing {@link AdWordsSession}, use {@link AdWordsSession#newBuilder()} instead. */ public Builder() { this.configHelper = new ConfigurationHelper(); }
/** * Constructor. Loads propertyUrls followed by propertyFilePaths. * * @param propertyUrls the file names of the properties. * @param propertyFileNames the property file names. */ public ConfigurationProvider(@Nullable List<ConfigurationInfo<URL>> propertyUrls, @Nullable List<ConfigurationInfo<String>> propertyFileNames) { this(propertyUrls, propertyFileNames, new ConfigurationHelper()); }
/** * Constructor. Loads propertyUrls followed by propertyFilePaths. * * @param propertyUrls the file names of the properties. * @param propertyFileNames the property file names. */ public ConfigurationProvider(@Nullable List<ConfigurationInfo<URL>> propertyUrls, @Nullable List<ConfigurationInfo<String>> propertyFileNames) { this(propertyUrls, propertyFileNames, new ConfigurationHelper()); }
@Before public void setUp() { AbstractConfiguration.setDefaultListDelimiter(','); clearTestSystemProperties(); this.configurationHelper = new ConfigurationHelper(); this.test1Properties = ImmutableMap.of( "a.b.c", "efgh", "a.b.d", "1234"); this.test3Properties = ImmutableMap.of( "a.b.c", "jklm", "e.f.h", "90123", "i.j.k", "foo"); }