|
jBPM distribution 6.0.0.Alpha9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.process.ProcessBaseImpl
public class ProcessBaseImpl
| Constructor Summary | |
|---|---|
ProcessBaseImpl()
|
|
| Method Summary | |
|---|---|
void |
addEventListener(KieBaseEventListener listener)
Add an event listener. |
void |
addKnowledgePackage(org.kie.definition.KnowledgePackage knowledgePackage)
|
void |
addKnowledgePackages(Collection<org.kie.definition.KnowledgePackage> knowledgePackages)
|
Set<String> |
getEntryPointIds()
Returns the set of the entry points declared and/or used in this knowledge base |
FactType |
getFactType(String packageName,
String typeName)
Returns the FactType identified by the given package and type names. |
Collection<KieBaseEventListener> |
getKieBaseEventListeners()
Returns all event listeners. |
KiePackage |
getKiePackage(String packageName)
Returns a reference to the KnowledgePackage identified by the given name. |
Collection<KiePackage> |
getKiePackages()
Return an immutable collection of the packages that exist in this KieBase. |
Collection<org.kie.runtime.StatefulKnowledgeSession> |
getKieSessions()
Return a collection of the StatefulKnowledgeSessions that exist in this KnowledgeBase. |
org.kie.definition.KnowledgePackage |
getKnowledgePackage(String packageName)
|
Collection<org.kie.definition.KnowledgePackage> |
getKnowledgePackages()
|
Process |
getProcess(String processId)
Returns a referent to the Process identified by the given processId |
Collection<Process> |
getProcesses()
|
Query |
getQuery(String packageName,
String queryName)
Returns a reference to the Rule identified by the given package and rule names. |
Rule |
getRule(String packageName,
String ruleName)
Returns a reference to the Rule identified by the given package and rule names. |
org.drools.RuleBase |
getRuleBase()
|
Collection<org.kie.runtime.StatefulKnowledgeSession> |
getStatefulKnowledgeSessions()
|
KieSession |
newKieSession()
Create a new StatefulKnowledgeSession using the default session configuration. |
KieSession |
newKieSession(KieSessionConfiguration conf,
Environment environment)
Create a new StatefulKnowledgeSession using the given session configuration and/or environment. |
org.kie.runtime.StatefulKnowledgeSession |
newStatefulKnowledgeSession()
|
org.kie.runtime.StatefulKnowledgeSession |
newStatefulKnowledgeSession(KieSessionConfiguration conf,
Environment environment)
|
org.kie.runtime.StatelessKnowledgeSession |
newStatelessKieSession()
Create a new StatelessKnowledgeSession using the default session configuration. |
org.kie.runtime.StatelessKnowledgeSession |
newStatelessKieSession(KieSessionConfiguration conf)
Create a new StatelessKnowledgeSession using the given session configuration. |
org.kie.runtime.StatelessKnowledgeSession |
newStatelessKnowledgeSession()
|
org.kie.runtime.StatelessKnowledgeSession |
newStatelessKnowledgeSession(KieSessionConfiguration conf)
|
void |
removeEventListener(KieBaseEventListener listener)
Remove an event listener. |
void |
removeFunction(String packageName,
String ruleName)
Remove a function from the specified package. |
void |
removeKiePackage(String packageName)
Remove a KnowledgePackage and all the definitions it contains from the KnowledgeBase. |
void |
removeKnowledgePackage(String packageName)
|
void |
removeProcess(String processId)
Remove a process from the specified package. |
void |
removeQuery(String packageName,
String queryName)
Remove a rule from the specified package. |
void |
removeRule(String packageName,
String ruleName)
Remove a rule from the specified package. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessBaseImpl()
| Method Detail |
|---|
public void addEventListener(KieBaseEventListener listener)
KieBaseEventManager
addEventListener in interface KieBaseEventManagerlistener - The listener to add.public void removeEventListener(KieBaseEventListener listener)
KieBaseEventManager
removeEventListener in interface KieBaseEventManagerlistener - The listener to remove.public Collection<KieBaseEventListener> getKieBaseEventListeners()
KieBaseEventManager
getKieBaseEventListeners in interface KieBaseEventManagerpublic void addKnowledgePackage(org.kie.definition.KnowledgePackage knowledgePackage)
public void addKnowledgePackages(Collection<org.kie.definition.KnowledgePackage> knowledgePackages)
addKnowledgePackages in interface org.kie.KnowledgeBasepublic Collection<org.kie.definition.KnowledgePackage> getKnowledgePackages()
getKnowledgePackages in interface org.kie.KnowledgeBasepublic org.kie.runtime.StatefulKnowledgeSession newStatefulKnowledgeSession()
newStatefulKnowledgeSession in interface org.kie.KnowledgeBasepublic KieSession newKieSession()
KieBase
newKieSession in interface KieBase
public org.kie.runtime.StatefulKnowledgeSession newStatefulKnowledgeSession(KieSessionConfiguration conf,
Environment environment)
newStatefulKnowledgeSession in interface org.kie.KnowledgeBase
public KieSession newKieSession(KieSessionConfiguration conf,
Environment environment)
KieBase
newKieSession in interface KieBasepublic Collection<org.kie.runtime.StatefulKnowledgeSession> getStatefulKnowledgeSessions()
getStatefulKnowledgeSessions in interface org.kie.KnowledgeBasepublic Collection<org.kie.runtime.StatefulKnowledgeSession> getKieSessions()
KieBase
getKieSessions in interface KieBasepublic org.kie.runtime.StatelessKnowledgeSession newStatelessKnowledgeSession()
newStatelessKnowledgeSession in interface org.kie.KnowledgeBasepublic org.kie.runtime.StatelessKnowledgeSession newStatelessKieSession()
KieBase
newStatelessKieSession in interface KieBasepublic org.kie.runtime.StatelessKnowledgeSession newStatelessKnowledgeSession(KieSessionConfiguration conf)
newStatelessKnowledgeSession in interface org.kie.KnowledgeBasepublic org.kie.runtime.StatelessKnowledgeSession newStatelessKieSession(KieSessionConfiguration conf)
KieBase
newStatelessKieSession in interface KieBasepublic void removeKnowledgePackage(String packageName)
removeKnowledgePackage in interface org.kie.KnowledgeBase
public void removeRule(String packageName,
String ruleName)
KieBase
removeRule in interface KieBaseremoveRule in interface org.kie.KnowledgeBase
public void removeQuery(String packageName,
String queryName)
KieBase
removeQuery in interface KieBaseremoveQuery in interface org.kie.KnowledgeBase
public void removeFunction(String packageName,
String ruleName)
KieBase
removeFunction in interface KieBaseremoveFunction in interface org.kie.KnowledgeBasepublic void removeProcess(String processId)
KieBase
removeProcess in interface KieBaseremoveProcess in interface org.kie.KnowledgeBase
public FactType getFactType(String packageName,
String typeName)
KieBase
getFactType in interface KieBasegetFactType in interface org.kie.KnowledgeBasepackageName - the name of the package the fact belongs to.typeName - the name of the type.
public org.kie.definition.KnowledgePackage getKnowledgePackage(String packageName)
getKnowledgePackage in interface org.kie.KnowledgeBasepublic Process getProcess(String processId)
KieBase
getProcess in interface KieBasegetProcess in interface org.kie.KnowledgeBaseprocessId - the id of the process
public Collection<Process> getProcesses()
getProcesses in interface KieBasegetProcesses in interface org.kie.KnowledgeBase
public Rule getRule(String packageName,
String ruleName)
KieBase
getRule in interface KieBasegetRule in interface org.kie.KnowledgeBasepackageName - the package name to which the rule belongs to.ruleName - the name of the rule.
public Query getQuery(String packageName,
String queryName)
KieBase
getQuery in interface KieBasegetQuery in interface org.kie.KnowledgeBasepackageName - the package name to which the rule belongs to.
public org.drools.RuleBase getRuleBase()
getRuleBase in interface org.drools.impl.InternalKnowledgeBasepublic Set<String> getEntryPointIds()
KieBase
getEntryPointIds in interface KieBasegetEntryPointIds in interface org.kie.KnowledgeBasepublic Collection<KiePackage> getKiePackages()
KieBase
getKiePackages in interface KieBasepublic KiePackage getKiePackage(String packageName)
KieBase
getKiePackage in interface KieBasepackageName - the name of the KnowledgePackage to return
public void removeKiePackage(String packageName)
KieBase
removeKiePackage in interface KieBase
|
jBPM distribution 6.0.0.Alpha9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||