T
- type the source will providepublic class YamlConfigurationSource<T> extends AbstractFileResourceConfigurationSource<T>
Constructor and Description |
---|
YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin,
Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader)
Deprecated.
|
YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin,
info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader,
info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties)
Deprecated.
|
YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin,
info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer,
Registry<T> registry,
Pattern pathPattern,
YamlReader yamlReader,
info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties,
info.magnolia.module.ModuleRegistry moduleRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
loadAndRegister(info.magnolia.resourceloader.Resource resource) |
protected void |
startDecoration() |
createMetadata, getRegistry, getResolvedDefinitionDecorators, getRootType, registerDefinitionDecoratorResolver, removeDefinitionsMatchingPath, start, type
@Deprecated public YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin, Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader)
YamlConfigurationSource(ResourceOrigin, Map2BeanTransformer, Registry, Pattern, YamlReader, MagnoliaConfigurationProperties, ModuleRegistry)
instead.@Deprecated public YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin, info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader, info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties)
YamlConfigurationSource(ResourceOrigin, Map2BeanTransformer, Registry, Pattern, YamlReader, MagnoliaConfigurationProperties, ModuleRegistry)
instead.public YamlConfigurationSource(info.magnolia.resourceloader.ResourceOrigin origin, info.magnolia.map2bean.Map2BeanTransformer map2BeanTransformer, Registry<T> registry, Pattern pathPattern, YamlReader yamlReader, info.magnolia.init.MagnoliaConfigurationProperties magnoliaConfigurationProperties, info.magnolia.module.ModuleRegistry moduleRegistry)
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.protected void startDecoration()
startDecoration
in class AbstractFileResourceConfigurationSource<T>
public void loadAndRegister(info.magnolia.resourceloader.Resource resource)
loadAndRegister
in class AbstractFileResourceConfigurationSource<T>
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.