public static DMNCompilerConfigurationImpl compilerConfigWithKModulePrefs ( ClassLoader classLoader , ChainedProperties chainedProperties , List < DMNProfile > dmnProfiles , DMNCompilerConfigurationImpl config ) { config . setRootClassLoader ( classLoader ) ; Map < String , String > dmnPrefs = new HashMap <> ( ) ; chainedProperties . mapStartsWith ( dmnPrefs , ORG_KIE_DMN_PREFIX , true ) ; config . setProperties ( dmnPrefs ) ; for ( DMNProfile dmnProfile : dmnProfiles ) { config . addExtensions ( dmnProfile . getExtensionRegisters ( ) ) ; config . addDRGElementCompilers ( dmnProfile . getDRGElementCompilers ( ) ) ; config . addFEELProfile ( dmnProfile ) ; } return config ; }
Returns a DMNCompilerConfiguration with the specified properties set and applying the explicited dmnProfiles .