Search in sources :

Example 1 with AsciidocRuleParserPlugin

use of com.buschmais.jqassistant.core.rule.impl.reader.AsciidocRuleParserPlugin in project jqa-core-framework by buschmais.

the class RuleSetTestHelper method getDefaultRuleParserPlugins.

public static List<RuleParserPlugin> getDefaultRuleParserPlugins(RuleConfiguration ruleConfiguration) throws RuleException {
    List<RuleParserPlugin> ruleParserPlugins = asList(new AsciidocRuleParserPlugin(), new XmlRuleParserPlugin(), new YamlRuleParserPlugin());
    for (RuleParserPlugin ruleParserPlugin : ruleParserPlugins) {
        ruleParserPlugin.initialize();
        ruleParserPlugin.configure(ruleConfiguration);
    }
    return ruleParserPlugins;
}
Also used : RuleParserPlugin(com.buschmais.jqassistant.core.rule.api.reader.RuleParserPlugin) YamlRuleParserPlugin(com.buschmais.jqassistant.core.rule.impl.reader.YamlRuleParserPlugin) AsciidocRuleParserPlugin(com.buschmais.jqassistant.core.rule.impl.reader.AsciidocRuleParserPlugin) XmlRuleParserPlugin(com.buschmais.jqassistant.core.rule.impl.reader.XmlRuleParserPlugin) YamlRuleParserPlugin(com.buschmais.jqassistant.core.rule.impl.reader.YamlRuleParserPlugin) XmlRuleParserPlugin(com.buschmais.jqassistant.core.rule.impl.reader.XmlRuleParserPlugin) AsciidocRuleParserPlugin(com.buschmais.jqassistant.core.rule.impl.reader.AsciidocRuleParserPlugin)

Aggregations

RuleParserPlugin (com.buschmais.jqassistant.core.rule.api.reader.RuleParserPlugin)1 AsciidocRuleParserPlugin (com.buschmais.jqassistant.core.rule.impl.reader.AsciidocRuleParserPlugin)1 XmlRuleParserPlugin (com.buschmais.jqassistant.core.rule.impl.reader.XmlRuleParserPlugin)1 YamlRuleParserPlugin (com.buschmais.jqassistant.core.rule.impl.reader.YamlRuleParserPlugin)1