public class DMNAssemblerService extends Object implements org.kie.api.internal.assembler.KieAssemblerService
Modifier and Type | Field and Description |
---|---|
static String |
DMN_COMPILER_CACHE_KEY |
static String |
DMN_PROFILE_PREFIX |
static String |
DMN_PROFILES_CACHE_KEY |
static String |
DMN_RUNTIME_LISTENER_PREFIX |
static String |
ORG_KIE_DMN_PREFIX |
Constructor and Description |
---|
DMNAssemblerService() |
DMNAssemblerService(DMNCompilerConfigurationImpl externalCompilerConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
addResource(Object kbuilder,
org.kie.api.io.Resource resource,
org.kie.api.io.ResourceType type,
org.kie.api.io.ResourceConfiguration configuration) |
void |
addResources(Object kbuilder,
Collection<org.kie.api.io.ResourceWithConfiguration> resources,
org.kie.api.io.ResourceType type) |
static DMNCompilerConfigurationImpl |
compilerConfigWithKModulePrefs(ClassLoader classLoader,
org.kie.internal.utils.ChainedProperties chainedProperties,
List<DMNProfile> dmnProfiles,
DMNCompilerConfigurationImpl config)
Returns a DMNCompilerConfiguration with the specified properties set, and applying the explicited dmnProfiles.
|
static void |
enrichDMNResourcesWithImportsDependencies(List<DMNResource> dmnResources,
Collection<org.kie.dmn.api.core.DMNModel> dmnModels) |
static List<DMNProfile> |
getDefaultDMNProfiles(org.kie.internal.utils.ChainedProperties properties) |
protected List<DMNProfile> |
getDMNProfiles(org.drools.compiler.builder.impl.KnowledgeBuilderImpl kbuilderImpl) |
org.kie.api.io.ResourceType |
getResourceType() |
static boolean |
isStrictMode(org.kie.internal.utils.ChainedProperties properties) |
public static final String ORG_KIE_DMN_PREFIX
public static final String DMN_PROFILE_PREFIX
public static final String DMN_RUNTIME_LISTENER_PREFIX
public static final String DMN_COMPILER_CACHE_KEY
public static final String DMN_PROFILES_CACHE_KEY
public DMNAssemblerService(DMNCompilerConfigurationImpl externalCompilerConfiguration)
public DMNAssemblerService()
public org.kie.api.io.ResourceType getResourceType()
getResourceType
in interface org.kie.api.internal.assembler.KieAssemblerService
public void addResources(Object kbuilder, Collection<org.kie.api.io.ResourceWithConfiguration> resources, org.kie.api.io.ResourceType type) throws Exception
addResources
in interface org.kie.api.internal.assembler.KieAssemblerService
Exception
public static void enrichDMNResourcesWithImportsDependencies(List<DMNResource> dmnResources, Collection<org.kie.dmn.api.core.DMNModel> dmnModels)
public void addResource(Object kbuilder, org.kie.api.io.Resource resource, org.kie.api.io.ResourceType type, org.kie.api.io.ResourceConfiguration configuration) throws Exception
addResource
in interface org.kie.api.internal.assembler.KieAssemblerService
Exception
protected List<DMNProfile> getDMNProfiles(org.drools.compiler.builder.impl.KnowledgeBuilderImpl kbuilderImpl)
public static List<DMNProfile> getDefaultDMNProfiles(org.kie.internal.utils.ChainedProperties properties)
public static boolean isStrictMode(org.kie.internal.utils.ChainedProperties properties)
public static DMNCompilerConfigurationImpl compilerConfigWithKModulePrefs(ClassLoader classLoader, org.kie.internal.utils.ChainedProperties chainedProperties, List<DMNProfile> dmnProfiles, DMNCompilerConfigurationImpl config)
classLoader
- chainedProperties
- applies properties --it does not do any classloading nor profile loading based on these properites, just passes the values.dmnProfiles
- applies these DMNProfile(s) to the DMNCompilerConfigurationconfig
- Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.