public class TemplateConfigBundle extends Object implements io.dropwizard.Bundle
Bundle that wraps the currently configured
ConfigurationSourceProvider with a
TemplateConfigurationSourceProvider
that allows you to write your config.yaml as a
Freemarker template.| Constructor and Description |
|---|
TemplateConfigBundle()
Create a
TemplateConfigBundle using the default configuration. |
TemplateConfigBundle(Charset charset)
Deprecated.
|
TemplateConfigBundle(TemplateConfigBundleConfiguration configuration)
Create a
TemplateConfigBundle using the given TemplateConfigBundleConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(io.dropwizard.setup.Environment environment) |
public TemplateConfigBundle()
TemplateConfigBundle using the default configuration.@Deprecated public TemplateConfigBundle(Charset charset)
TemplateConfigBundle(TemplateConfigBundleConfiguration) instead.TemplateConfigBundle using the given Charset.charset - The Charset used to load, process, and output the config template.public TemplateConfigBundle(TemplateConfigBundleConfiguration configuration)
TemplateConfigBundle using the given TemplateConfigBundleConfiguration.configuration - The configuration for the new bundle. See TemplateConfigBundleConfiguration.Copyright © 2016. All rights reserved.