|
Knowledge API Legacy5 Adapter 6.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KBaseUnit
This class wraps the definition of a named KnowledgeBase defined in a KnowledgeJar allowing to instance it and create new StatefulKnowledgeSession from it
| Method Summary | |
|---|---|
KnowledgeBuilderErrors |
getErrors()
Return the errors that occurred during the build process of the KnowledgeBase wrapped by this KBaseUnit |
String |
getKBaseName()
Return the name of the KnowledgeBase wrapped by this KBaseUnit |
KnowledgeBase |
getKnowledgeBase()
Lazily create and return the KnowledgeBase wrapped by this KBaseUnit |
boolean |
hasErrors()
If errors occurred during the build process they are added here |
StatefulKnowledgeSession |
newStatefulKnowledegSession(String ksessionName)
Instance a new StatefulKnowledgeSession identified by the gievn name from the KnowledgeBase wrapped by this KBaseUnit |
StatelessKnowledgeSession |
newStatelessKnowledegSession(String ksessionName)
Instance a new StatelessKnowledgeSession identified by the gievn name from the KnowledgeBase wrapped by this KBaseUnit |
| Method Detail |
|---|
String getKBaseName()
KnowledgeBase getKnowledgeBase()
boolean hasErrors()
KnowledgeBuilderErrors getErrors()
StatefulKnowledgeSession newStatefulKnowledegSession(String ksessionName)
kSessionName - The name of the StatefulKnowledgeSession
StatelessKnowledgeSession newStatelessKnowledegSession(String ksessionName)
kSessionName - The name of the StatelessKnowledgeSession
|
Knowledge API Legacy5 Adapter 6.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||