use of org.drools.compiler.lang.dsl.DefaultExpander in project drools-wb by kiegroup.
the class GuidedDecisionTableSourceService method getDSLExpander.
/**
* Returns an expander for DSLs (only if there is a DSL configured for this package).
*/
private Expander getDSLExpander(final Path path) {
final Expander expander = new DefaultExpander();
final List<DSLMappingFile> dsls = getDSLMappingFiles(path);
for (DSLMappingFile dsl : dsls) {
expander.addDSLMapping(dsl.getMapping());
}
return expander;
}
use of org.drools.compiler.lang.dsl.DefaultExpander in project drools-wb by kiegroup.
the class GuidedRuleTemplateSourceService method getDSLExpander.
/**
* Returns an expander for DSLs (only if there is a DSL configured for this package).
*/
private Expander getDSLExpander(final Path path) {
final Expander expander = new DefaultExpander();
final List<DSLMappingFile> dsls = getDSLMappingFiles(path);
for (DSLMappingFile dsl : dsls) {
expander.addDSLMapping(dsl.getMapping());
}
return expander;
}
use of org.drools.compiler.lang.dsl.DefaultExpander in project drools-wb by kiegroup.
the class DslrFileIndexer method getDSLExpander.
/**
* Returns an expander for DSLs (only if there is a DSL configured for this package).
*/
private Expander getDSLExpander(final Path path) {
final Expander expander = new DefaultExpander();
final List<DSLMappingFile> dsls = getDSLMappingFiles(path);
for (DSLMappingFile dsl : dsls) {
expander.addDSLMapping(dsl.getMapping());
}
return expander;
}
Aggregations