public class YamlConfigurationSourceBuilder extends AbstractConfigurationSourceBuilder
YamlConfigurationSource
instances.Constructor and Description |
---|
YamlConfigurationSourceBuilder(info.magnolia.resourceloader.ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
YamlReader yamlReader)
Deprecated.
|
YamlConfigurationSourceBuilder(info.magnolia.resourceloader.ResourceOrigin origin,
info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer,
YamlReader yamlReader,
info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties)
Deprecated.
|
YamlConfigurationSourceBuilder(info.magnolia.resourceloader.ResourceOrigin origin,
info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer,
YamlReader yamlReader,
info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties,
info.magnolia.module.ModuleRegistry moduleRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
bindTo(Registry<?> registry) |
void |
bindWithDefaults(Registry registry) |
protected String |
moduleConventionsFormatFor(Registry registry) |
protected Pattern |
validatePathPattern(String regex) |
YamlConfigurationSourceBuilder |
withCustomConstruct(String tag,
org.yaml.snakeyaml.constructor.Construct construct) |
YamlConfigurationSourceBuilder |
withCustomConstruct(String tag,
Function<Consumer<DefinitionProvider.Problem>,org.yaml.snakeyaml.constructor.Construct> constructSupplier) |
YamlConfigurationSourceBuilder |
withCustomMultiConstruct(String tagPrefix,
org.yaml.snakeyaml.constructor.Construct construct) |
YamlConfigurationSourceBuilder |
withCustomMultiConstruct(String tagPrefix,
Function<Consumer<DefinitionProvider.Problem>,org.yaml.snakeyaml.constructor.Construct> constructSupplier) |
YamlConfigurationSourceBuilder |
withPattern(String pathPattern) |
pluralTypeNameOf, typeNameOf
public YamlConfigurationSourceBuilder(info.magnolia.resourceloader.ResourceOrigin origin, info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer, YamlReader yamlReader, info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties, info.magnolia.module.ModuleRegistry moduleRegistry)
@Deprecated public YamlConfigurationSourceBuilder(info.magnolia.resourceloader.ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, YamlReader yamlReader)
YamlConfigurationSourceBuilder(ResourceOrigin, Map2BeanTransformer, YamlReader, MagnoliaConfigurationProperties, ModuleRegistry)
instead.@Deprecated public YamlConfigurationSourceBuilder(info.magnolia.resourceloader.ResourceOrigin origin, info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer, YamlReader yamlReader, info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties)
YamlConfigurationSourceBuilder(ResourceOrigin, Map2BeanTransformer, YamlReader, MagnoliaConfigurationProperties, ModuleRegistry)
instead.public YamlConfigurationSourceBuilder withPattern(String pathPattern)
public YamlConfigurationSourceBuilder withCustomConstruct(String tag, Function<Consumer<DefinitionProvider.Problem>,org.yaml.snakeyaml.constructor.Construct> constructSupplier)
public YamlConfigurationSourceBuilder withCustomMultiConstruct(String tagPrefix, Function<Consumer<DefinitionProvider.Problem>,org.yaml.snakeyaml.constructor.Construct> constructSupplier)
public YamlConfigurationSourceBuilder withCustomMultiConstruct(String tagPrefix, org.yaml.snakeyaml.constructor.Construct construct)
public YamlConfigurationSourceBuilder withCustomConstruct(String tag, org.yaml.snakeyaml.constructor.Construct construct)
public void bindTo(Registry<?> registry)
public void bindWithDefaults(Registry registry)
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.