ConfigDataBuilder |
ConfigDataBuilder.add(ConfigSource configSource) |
Adds a configuration source.
|
default ConfigDataBuilder |
ConfigDataBuilder.args(String[] args) |
|
default ConfigDataBuilder |
ConfigDataBuilder.args(String separator,
String[] args) |
|
default ConfigDataBuilder |
ConfigDataBuilder.args(String prefix,
String separator,
String[] args) |
Adds a configuration source for the given string args.
|
static ConfigDataBuilder |
ConfigData.builder() |
|
static ConfigDataBuilder |
ConfigData.builder(ObjectMapper objectMapper) |
|
static ConfigDataBuilder |
ConfigData.builder(Environment env) |
|
static ConfigDataBuilder |
ConfigData.builder(Environment env,
ObjectMapper objectMapper) |
|
ConfigDataBuilder |
ConfigDataBuilder.configureObjectMapper(Action<ObjectMapper> action) |
Configures the object mapper used for binding configuration data to arbitrary objects.
|
ConfigDataBuilder |
ConfigDataBuilder.env() |
Adds a configuration source for environment variables starting with the prefix "RATPACK_".
|
ConfigDataBuilder |
ConfigDataBuilder.env(String prefix) |
Adds a configuration source for environment variables starting with the specified prefix.
|
ConfigDataBuilder |
ConfigDataBuilder.env(String prefix,
Function<String,String> mapFunc) |
Adds a configuration source for environment variables starting with the specified prefix.
|
ConfigDataBuilder |
ConfigDataBuilder.env(EnvironmentParser environmentParser) |
Adds a configuration source for environment variables using custom parsing logic.
|
default ConfigDataBuilder |
ConfigDataBuilder.jacksonModules(Module... modules) |
|
ConfigDataBuilder |
ConfigDataBuilder.json(com.google.common.io.ByteSource byteSource) |
Adds a configuration source for a JSON file.
|
ConfigDataBuilder |
ConfigDataBuilder.json(String path) |
Adds the JSON file at the given path as a configuration source.
|
ConfigDataBuilder |
ConfigDataBuilder.json(URL url) |
Adds a configuration source for a JSON file.
|
ConfigDataBuilder |
ConfigDataBuilder.json(Path path) |
Adds a configuration source for a JSON file.
|
ConfigDataBuilder |
ConfigDataBuilder.object(String path,
Object object) |
Adds the object's fields at the given path as a configuration source.
|
ConfigDataBuilder |
ConfigDataBuilder.onError(Action<? super Throwable> errorHandler) |
Sets the error all that will be used for added configuration sources.
|
ConfigDataBuilder |
ConfigDataBuilder.props(com.google.common.io.ByteSource byteSource) |
Adds a configuration source for a properties file.
|
ConfigDataBuilder |
ConfigDataBuilder.props(String path) |
Adds the properties file at the given path as a configuration source.
|
ConfigDataBuilder |
ConfigDataBuilder.props(URL url) |
Adds a configuration source for a properties file.
|
ConfigDataBuilder |
ConfigDataBuilder.props(Path path) |
Adds a configuration source for a properties file.
|
ConfigDataBuilder |
ConfigDataBuilder.props(Map<String,String> map) |
Adds a configuration source for a Map (flat key-value pairs).
|
ConfigDataBuilder |
ConfigDataBuilder.props(Properties properties) |
Adds a configuration source for a properties object.
|
ConfigDataBuilder |
ConfigDataBuilder.sysProps() |
Adds a configuration source for system properties starting with the prefix "ratpack.".
|
ConfigDataBuilder |
ConfigDataBuilder.sysProps(String prefix) |
Adds a configuration source for system properties starting with the specified prefix.
|
ConfigDataBuilder |
ConfigDataBuilder.yaml(com.google.common.io.ByteSource byteSource) |
Adds a configuration source for a YAML file.
|
ConfigDataBuilder |
ConfigDataBuilder.yaml(String path) |
Adds the YAML file at the given path as a configuration source.
|
ConfigDataBuilder |
ConfigDataBuilder.yaml(URL url) |
Adds a configuration source for a YAML file.
|
ConfigDataBuilder |
ConfigDataBuilder.yaml(Path path) |
Adds a configuration source for a YAML file.
|