public class YamlRuleDefinitionReader extends AbstractRuleDefinitionReader
rule1
---
rule2
| Constructor and Description |
|---|
YamlRuleDefinitionReader()
Create a new
YamlRuleDefinitionReader. |
YamlRuleDefinitionReader(org.yaml.snakeyaml.Yaml yaml)
Create a new
YamlRuleDefinitionReader. |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Iterable<java.util.Map<java.lang.String,java.lang.Object>> |
loadRules(java.io.Reader reader)
Load rules from the given reader as an iterable of Maps.
|
createRuleDefinition, readpublic YamlRuleDefinitionReader()
YamlRuleDefinitionReader.public YamlRuleDefinitionReader(org.yaml.snakeyaml.Yaml yaml)
YamlRuleDefinitionReader.yaml - to use to read rule definitionsprotected java.lang.Iterable<java.util.Map<java.lang.String,java.lang.Object>> loadRules(java.io.Reader reader)
AbstractRuleDefinitionReaderloadRules in class AbstractRuleDefinitionReaderreader - to read rules fromCopyright © 2020. All Rights Reserved.