public class YamlFileDependency extends Object
YamlConfigurationDependency
which represents another YAML file, possibly included or somehow referenced in another file.
Needs to be supplied with an instance of a YamlReader
and MgnlYamlConstructor.YamlConfigurationDependencyAggregator
in order to collect the
transitive dependencies.Constructor and Description |
---|
YamlFileDependency(ResourceOrigin resourceOrigin,
String resourcePath,
YamlReader yamlReader,
MgnlYamlConstructor.YamlConfigurationDependencyAggregator dependencyAggregator,
Consumer<DefinitionProvider.Problem> problemCollector) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
long |
getLastModified() |
Object |
readData() |
String |
toString() |
public YamlFileDependency(ResourceOrigin resourceOrigin, String resourcePath, YamlReader yamlReader, MgnlYamlConstructor.YamlConfigurationDependencyAggregator dependencyAggregator, Consumer<DefinitionProvider.Problem> problemCollector)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.