public class StreamsConfigurator<T extends StreamsConfiguration> extends Object
Constructor and Description |
---|
StreamsConfigurator(Class<T> configClass) |
Modifier and Type | Method and Description |
---|---|
static void |
addConfig(com.typesafe.config.Config newConfig) |
static void |
addConfig(com.typesafe.config.Config newConfig,
String path) |
static StreamsConfiguration |
detectConfiguration() |
static StreamsConfiguration |
detectConfiguration(com.typesafe.config.Config typesafeConfig) |
T |
detectCustomConfiguration() |
T |
detectCustomConfiguration(com.typesafe.config.Config rootConfig) |
T |
detectCustomConfiguration(com.typesafe.config.Config rootConfig,
String path) |
T |
detectCustomConfiguration(String path) |
static com.typesafe.config.Config |
getConfig() |
static StreamsConfiguration |
mergeConfigurations(com.typesafe.config.Config base,
com.typesafe.config.Config delta) |
static com.typesafe.config.Config |
rawConfig() |
static com.typesafe.config.Config |
resolveConfig(String configUrl) |
static void |
setConfig(com.typesafe.config.Config newConfig) |
public static com.typesafe.config.Config getConfig()
public static com.typesafe.config.Config rawConfig()
public static void addConfig(com.typesafe.config.Config newConfig)
public static void addConfig(com.typesafe.config.Config newConfig, String path)
public static void setConfig(com.typesafe.config.Config newConfig)
public static com.typesafe.config.Config resolveConfig(String configUrl) throws MalformedURLException
MalformedURLException
public static StreamsConfiguration detectConfiguration()
public static StreamsConfiguration detectConfiguration(com.typesafe.config.Config typesafeConfig)
public static StreamsConfiguration mergeConfigurations(com.typesafe.config.Config base, com.typesafe.config.Config delta)
public T detectCustomConfiguration()
public T detectCustomConfiguration(com.typesafe.config.Config rootConfig)
Copyright © 2018 The Apache Software Foundation. All rights reserved.