Class ClasspathKieProject

java.lang.Object
org.drools.compiler.kie.builder.impl.AbstractKieProject
org.drools.compiler.kie.builder.impl.ClasspathKieProject
All Implemented Interfaces:
KieProject

public class ClasspathKieProject extends AbstractKieProject
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 Details

  • Method Details

    • init

      public void init()
    • getGAV

      public ReleaseId getGAV()
    • getCreationTimestamp

      public long getCreationTimestamp()
    • discoverKieModules

      public void discoverKieModules()
    • fetchKModule

      public static InternalKieModule fetchKModule(URL url)
    • createInternalKieModule

      public static InternalKieModule createInternalKieModule(KieModuleModel kieProject, ReleaseId releaseId, String rootPath)
    • getPomProperties

      public static String getPomProperties(String urlPathToAdd)
    • fixURLFromKProjectPath

      public static String fixURLFromKProjectPath(URL url)
    • getKieModuleForKBase

      public InternalKieModule getKieModuleForKBase(String kBaseName)
    • getClassLoader

      public ClassLoader getClassLoader()
    • getPomAsStream

      public InputStream getPomAsStream()