public interface KBaseUnit
Modifier and Type | Method and Description |
---|---|
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
|
String getKBaseName()
KnowledgeBase getKnowledgeBase()
boolean hasErrors()
KnowledgeBuilderErrors getErrors()
StatefulKnowledgeSession newStatefulKnowledegSession(String ksessionName)
kSessionName
- The name of the StatefulKnowledgeSessionStatelessKnowledgeSession newStatelessKnowledegSession(String ksessionName)
kSessionName
- The name of the StatelessKnowledgeSessionCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.