public static interface XmlMultiConfiguration.Variant extends XmlMultiConfiguration.Builder
Modifier and Type | Method and Description |
---|---|
default XmlMultiConfiguration.Variant |
variant(java.lang.String variant,
Builder<? extends Configuration> builder)
Add a new variant configuration built from the given builder.
|
XmlMultiConfiguration.Variant |
variant(java.lang.String variant,
Configuration configuration)
Add a new variant configuration
|
XmlMultiConfiguration.Variant |
withoutVariant(java.lang.String variant)
Remove the given configuration variant.
|
build, withManager, withManager, withManager, withoutManager
XmlMultiConfiguration.Variant withoutVariant(java.lang.String variant)
variant
- variant to removeXmlMultiConfiguration.Variant variant(java.lang.String variant, Configuration configuration)
variant
- configuration variantconfiguration
- configuration instancedefault XmlMultiConfiguration.Variant variant(java.lang.String variant, Builder<? extends Configuration> builder)
variant
- configuration variantbuilder
- configuration builder