T
- type the source will providepublic class YamlConfigurationSource<T> extends AbstractFileResourceConfigurationSource<T>
Constructor and Description |
---|
YamlConfigurationSource(ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader)
Deprecated.
|
YamlConfigurationSource(ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader,
MagnoliaConfigurationProperties magnoliaConfigurationProperties)
Deprecated.
|
YamlConfigurationSource(ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader,
MagnoliaConfigurationProperties magnoliaConfigurationProperties,
ModuleRegistry moduleRegistry)
|
YamlConfigurationSource(ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader,
MagnoliaConfigurationProperties magnoliaConfigurationProperties,
ModuleRegistry moduleRegistry,
Map<String,Function<Consumer<DefinitionProvider.Problem>,org.yaml.snakeyaml.constructor.Construct>> customConstructs,
Map<String,Function<Consumer<DefinitionProvider.Problem>,org.yaml.snakeyaml.constructor.Construct>> customMultiConstructs) |
Modifier and Type | Method and Description |
---|---|
void |
loadAndRegister(Resource resource) |
protected void |
startDecoration() |
createMetadata, getRegistry, getResolvedDefinitionDecorators, getRootType, registerDefinitionDecoratorResolver, removeDefinitionsMatchingPath, start, type
public YamlConfigurationSource(ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader, MagnoliaConfigurationProperties magnoliaConfigurationProperties, ModuleRegistry moduleRegistry, Map<String,Function<Consumer<DefinitionProvider.Problem>,org.yaml.snakeyaml.constructor.Construct>> customConstructs, Map<String,Function<Consumer<DefinitionProvider.Problem>,org.yaml.snakeyaml.constructor.Construct>> customMultiConstructs)
pathPattern
- a regular expression pattern used to determine whether a file should be considered by the source or not. If the pattern contains a group, it will be used to determine the name of the given object, if not explicitly configured.@Deprecated public YamlConfigurationSource(ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader)
YamlConfigurationSource(ResourceOrigin, Map2BeanTransformer, Registry, Pattern, YamlReader, MagnoliaConfigurationProperties, ModuleRegistry)
instead.@Deprecated public YamlConfigurationSource(ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader, MagnoliaConfigurationProperties magnoliaConfigurationProperties)
YamlConfigurationSource(ResourceOrigin, Map2BeanTransformer, Registry, Pattern, YamlReader, MagnoliaConfigurationProperties, ModuleRegistry)
instead.@Deprecated public YamlConfigurationSource(ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader, MagnoliaConfigurationProperties magnoliaConfigurationProperties, ModuleRegistry moduleRegistry)
protected void startDecoration()
startDecoration
in class AbstractFileResourceConfigurationSource<T>
public void loadAndRegister(Resource resource)
loadAndRegister
in class AbstractFileResourceConfigurationSource<T>
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.