public class TemplateConfigBundleConfiguration extends Object
TemplateConfigBundle| Constructor and Description |
|---|
TemplateConfigBundleConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Charset |
charset()
Get the configured charset (Default: UTF-8)
|
TemplateConfigBundleConfiguration |
charset(Charset charset)
Set the
Charset used to load, process, and output the config template |
com.google.common.base.Optional<String> |
fileIncludePath()
Get the configured file include path (Default: None)
|
TemplateConfigBundleConfiguration |
fileIncludePath(String path)
Set the file path to include config snippets from
|
com.google.common.base.Optional<String> |
includePath()
Deprecated.
Replaced by
resourceIncludePath. |
TemplateConfigBundleConfiguration |
includePath(String includePath)
Deprecated.
Replaced by
resourceIncludePath(String). |
com.google.common.base.Optional<String> |
outputPath()
Get the configured output path for the processed config (Default: None)
|
TemplateConfigBundleConfiguration |
outputPath(String outputPath)
Set the path to output the filled-out config
|
com.google.common.base.Optional<String> |
resourceIncludePath()
Get the configured resource include path (Default: None)
|
TemplateConfigBundleConfiguration |
resourceIncludePath(String path)
Set the resource path to include config snippets from
|
public Charset charset()
public TemplateConfigBundleConfiguration charset(Charset charset)
Charset used to load, process, and output the config template
The default is UTF-8.
@Deprecated public com.google.common.base.Optional<String> includePath()
resourceIncludePath.public com.google.common.base.Optional<String> resourceIncludePath()
public com.google.common.base.Optional<String> fileIncludePath()
public com.google.common.base.Optional<String> outputPath()
@Deprecated public TemplateConfigBundleConfiguration includePath(String includePath)
resourceIncludePath(String).Must not be null. By default there's no value set.
public TemplateConfigBundleConfiguration resourceIncludePath(String path)
Must not be null. By default there's no value set.
Only one of resourceIncludePath or fileIncludePath
may be specified.
IllegalStateException - if fileIncludePath is setpublic TemplateConfigBundleConfiguration fileIncludePath(String path)
Must not be null. By default there's no value set.
Only one of resourceIncludePath or fileIncludePath
may be specified.
IllegalStateException - if resourceIncludePath is already setpublic TemplateConfigBundleConfiguration outputPath(String outputPath)
Must not be null. By default there's no value set.
Copyright © 2016. All rights reserved.