Interface KieBaseCompiler
- All Known Implementing Classes:
KieBaseCompilerImpl
public interface KieBaseCompiler
Compiles a `KnowledgeBase` by aggregating system and custom rules.
-
Method Summary
Modifier and TypeMethodDescriptionorg.kie.api.KieBasecompile(String subject, Iterable<RuleSource> sources) Compile a package for the specified subject from the given knowledge sources.
-
Method Details
-
compile
Compile a package for the specified subject from the given knowledge sources. It uses all system rules and the specified custom rules to build the knowledge base.- Parameters:
subject- The subject.sources- The knowledge sources.- Returns:
- A knowledge base.
- Throws:
CompileException- If an compile error occurs.
-