public class YamlConfigurationSourceBuilder extends AbstractConfigurationSourceBuilder
YamlConfigurationSource
instances.Constructor and Description |
---|
YamlConfigurationSourceBuilder(ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
YamlReader yamlReader)
Deprecated.
|
YamlConfigurationSourceBuilder(ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
YamlReader yamlReader,
MagnoliaConfigurationProperties magnoliaConfigurationProperties)
Deprecated.
|
YamlConfigurationSourceBuilder(ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
YamlReader yamlReader,
MagnoliaConfigurationProperties magnoliaConfigurationProperties,
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(ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, YamlReader yamlReader, MagnoliaConfigurationProperties magnoliaConfigurationProperties, ModuleRegistry moduleRegistry)
@Deprecated public YamlConfigurationSourceBuilder(ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, YamlReader yamlReader)
YamlConfigurationSourceBuilder(ResourceOrigin, Map2BeanTransformer, YamlReader, MagnoliaConfigurationProperties, ModuleRegistry)
instead.@Deprecated public YamlConfigurationSourceBuilder(ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, YamlReader yamlReader, 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–2019 Magnolia International Ltd.. All rights reserved.