org.drools.compiler.kie.builder.impl.InternalKieModule Maven / Gradle / Ivy
package org.drools.compiler.kie.builder.impl;
import java.io.File;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import org.kie.api.builder.KieModule;
import org.kie.api.builder.ReleaseId;
import org.kie.api.builder.Results;
import org.kie.api.builder.model.KieModuleModel;
import org.kie.api.io.Resource;
import org.kie.internal.builder.KnowledgeBuilder;
import org.kie.internal.definition.KnowledgePackage;
public interface InternalKieModule extends KieModule {
void cacheKnowledgeBuilderForKieBase(String kieBaseName, KnowledgeBuilder kbuilder);
KnowledgeBuilder getKnowledgeBuilderForKieBase(String kieBaseName);
Collection getKnowledgePackagesForKieBase(String kieBaseName);
void cacheResultsForKieBase(String kieBaseName, Results results);
Map getKnowledgeResultsCache();
KieModuleModel getKieModuleModel();
byte[] getBytes( );
Resource getResource( String fileName );
Map getKieDependencies();
void addKieDependency(InternalKieModule dependency);
List getJarDependencies();
boolean isAvailable( final String pResourceName );
byte[] getBytes( final String pResourceName );
Collection getFileNames();
File getFile();
Map getClassesMap(boolean includeTypeDeclarations);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy