|
KIE Internal 6.0.0.Beta1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface KnowledgeBase
Will be removed immenently
Method Summary | |
---|---|
void |
addKnowledgePackages(Collection<KnowledgePackage> kpackages)
Deprecated. Add the collection of KnowledgePackages to the KnowledgeBase. |
Set<String> |
getEntryPointIds()
Deprecated. Returns the set of the entry points declared and/or used in this knowledge base |
org.kie.api.definition.type.FactType |
getFactType(String packageName,
String typeName)
Deprecated. Returns the FactType identified by the given package and type names. |
KnowledgePackage |
getKnowledgePackage(String packageName)
Deprecated. Returns a reference to the KnowledgePackage identified by the given name. |
Collection<KnowledgePackage> |
getKnowledgePackages()
Deprecated. Return an immutable collection of the packages that exist in this KnowledgeBase. |
org.kie.api.definition.process.Process |
getProcess(String processId)
Deprecated. Returns a referent to the Process identified by the given processId |
Collection<org.kie.api.definition.process.Process> |
getProcesses()
Deprecated. |
org.kie.api.definition.rule.Query |
getQuery(String packageName,
String queryName)
Deprecated. Returns a reference to the Rule identified by the given package and rule names. |
org.kie.api.definition.rule.Rule |
getRule(String packageName,
String ruleName)
Deprecated. Returns a reference to the Rule identified by the given package and rule names. |
Collection<StatefulKnowledgeSession> |
getStatefulKnowledgeSessions()
Deprecated. Return a collection of the StatefulKnowledgeSessions that exist in this KnowledgeBase. |
StatefulKnowledgeSession |
newStatefulKnowledgeSession()
Deprecated. Create a new StatefulKnowledgeSession using the default session configuration. |
StatefulKnowledgeSession |
newStatefulKnowledgeSession(org.kie.api.runtime.KieSessionConfiguration conf,
org.kie.api.runtime.Environment environment)
Deprecated. Create a new StatefulKnowledgeSession using the given session configuration and/or environment. |
StatelessKnowledgeSession |
newStatelessKnowledgeSession()
Deprecated. Create a new StatelessKnowledgeSession using the default session configuration. |
StatelessKnowledgeSession |
newStatelessKnowledgeSession(org.kie.api.runtime.KieSessionConfiguration conf)
Deprecated. Create a new StatelessKnowledgeSession using the given session configuration. |
void |
removeFunction(String packageName,
String ruleName)
Deprecated. Remove a function from the specified package. |
void |
removeKnowledgePackage(String packageName)
Deprecated. Remove a KnowledgePackage and all the definitions it contains from the KnowledgeBase. |
void |
removeProcess(String processId)
Deprecated. Remove a process from the specified package. |
void |
removeQuery(String packageName,
String queryName)
Deprecated. Remove a rule from the specified package. |
void |
removeRule(String packageName,
String ruleName)
Deprecated. Remove a rule from the specified package. |
Methods inherited from interface org.kie.api.KieBase |
---|
getKiePackage, getKiePackages, getKieSessions, newKieSession, newKieSession, newStatelessKieSession, newStatelessKieSession, removeKiePackage |
Methods inherited from interface org.kie.api.event.kiebase.KieBaseEventManager |
---|
addEventListener, getKieBaseEventListeners, removeEventListener |
Method Detail |
---|
void addKnowledgePackages(Collection<KnowledgePackage> kpackages)
knowledgePackage
- Collection<KnowledgePackage> getKnowledgePackages()
KnowledgePackage getKnowledgePackage(String packageName)
packageName
- the name of the KnowledgePackage to return
void removeKnowledgePackage(String packageName)
packageName
- org.kie.api.definition.rule.Rule getRule(String packageName, String ruleName)
getRule
in interface org.kie.api.KieBase
packageName
- the package name to which the rule belongs to.ruleName
- the name of the rule.
void removeRule(String packageName, String ruleName)
removeRule
in interface org.kie.api.KieBase
packageName
- ruleName
- org.kie.api.definition.rule.Query getQuery(String packageName, String queryName)
getQuery
in interface org.kie.api.KieBase
packageName
- the package name to which the rule belongs to.ruleName
- the name of the rule.
void removeQuery(String packageName, String queryName)
removeQuery
in interface org.kie.api.KieBase
packageName
- ruleName
- void removeFunction(String packageName, String ruleName)
removeFunction
in interface org.kie.api.KieBase
packageName
- ruleName
- org.kie.api.definition.type.FactType getFactType(String packageName, String typeName)
getFactType
in interface org.kie.api.KieBase
packageName
- the name of the package the fact belongs to.typeName
- the name of the type.
org.kie.api.definition.process.Process getProcess(String processId)
getProcess
in interface org.kie.api.KieBase
processId
- the id of the process
void removeProcess(String processId)
removeProcess
in interface org.kie.api.KieBase
processId
- Collection<org.kie.api.definition.process.Process> getProcesses()
getProcesses
in interface org.kie.api.KieBase
StatefulKnowledgeSession newStatefulKnowledgeSession(org.kie.api.runtime.KieSessionConfiguration conf, org.kie.api.runtime.Environment environment)
conf
- environment
-
StatefulKnowledgeSession newStatefulKnowledgeSession()
Collection<StatefulKnowledgeSession> getStatefulKnowledgeSessions()
StatelessKnowledgeSession newStatelessKnowledgeSession(org.kie.api.runtime.KieSessionConfiguration conf)
conf
-
StatelessKnowledgeSession newStatelessKnowledgeSession()
Set<String> getEntryPointIds()
getEntryPointIds
in interface org.kie.api.KieBase
|
KIE Internal 6.0.0.Beta1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |