Class ClasspathKieProject
java.lang.Object
org.drools.compiler.kie.builder.impl.AbstractKieProject
org.drools.compiler.kie.builder.impl.ClasspathKieProject
- All Implemented Interfaces:
KieProject
Discovers all KieModules on the classpath, via the kmodule.xml file.
KieBaseModels and KieSessionModels are then indexed, with helper lookups
Each resulting KieModule is added to the KieRepository
-
Field Summary
FieldsFields inherited from class org.drools.compiler.kie.builder.impl.AbstractKieProject
kBaseModels -
Method Summary
Modifier and TypeMethodDescriptionstatic InternalKieModulecreateInternalKieModule(KieModuleModel kieProject, ReleaseId releaseId, String rootPath) voidstatic InternalKieModulefetchKModule(URL url) static StringlonggetGAV()getKieModuleForKBase(String kBaseName) static StringgetPomProperties(String urlPathToAdd) voidinit()Methods inherited from class org.drools.compiler.kie.builder.impl.AbstractKieProject
buildKnowledgePackages, buildKnowledgePackages, compileIncludedKieBases, createKnowledgeBuilder, getBuilderConfiguration, getDefaultKieBaseModel, getDefaultKieSession, getDefaultStatelessKieSession, getKieBaseModel, getKieBaseNames, getKieSessionModel, getTransitiveIncludes, getTransitiveIncludes, verify, verify, verifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.compiler.kie.builder.impl.KieProject
writeProjectOutput
-
Field Details
-
OSGI_KIE_MODULE_CLASS_NAME
- See Also:
-
-
Method Details
-
init
public void init() -
getGAV
-
getCreationTimestamp
public long getCreationTimestamp() -
discoverKieModules
public void discoverKieModules() -
fetchKModule
-
createInternalKieModule
public static InternalKieModule createInternalKieModule(KieModuleModel kieProject, ReleaseId releaseId, String rootPath) -
getPomProperties
-
fixURLFromKProjectPath
-
getKieModuleForKBase
-
getClassLoader
-
getPomAsStream
-