Search in sources :

Example 1 with DMNCompilerConfiguration

use of org.kie.dmn.api.core.DMNCompilerConfiguration in project drools by kiegroup.

the class DMNAssemblerService method getCompiler.

private DMNCompiler getCompiler(KnowledgeBuilderImpl kbuilderImpl) {
    List<DMNProfile> dmnProfiles = kbuilderImpl.getCachedOrCreate(DMN_PROFILES_CACHE_KEY, () -> getDMNProfiles(kbuilderImpl));
    DMNCompilerConfiguration compilerConfig = compilerConfigWithKModulePrefs(kbuilderImpl.getBuilderConfiguration().getChainedProperties(), dmnProfiles);
    return DMNFactory.newCompiler(compilerConfig);
}
Also used : DMNCompilerConfiguration(org.kie.dmn.api.core.DMNCompilerConfiguration) DMNProfile(org.kie.dmn.core.compiler.DMNProfile) ExtendedDMNProfile(org.kie.dmn.core.compiler.profiles.ExtendedDMNProfile)

Aggregations

DMNCompilerConfiguration (org.kie.dmn.api.core.DMNCompilerConfiguration)1 DMNProfile (org.kie.dmn.core.compiler.DMNProfile)1 ExtendedDMNProfile (org.kie.dmn.core.compiler.profiles.ExtendedDMNProfile)1