|
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 KieBaseEventManager
listener
- The listener to add.public void removeEventListener(KieBaseEventListener listener)
KieBaseEventManager
removeEventListener
in interface KieBaseEventManager
listener
- The listener to remove.public Collection<KieBaseEventListener> getKieBaseEventListeners()
KieBaseEventManager
getKieBaseEventListeners
in interface KieBaseEventManager
public void addKnowledgePackage(org.kie.definition.KnowledgePackage knowledgePackage)
public void addKnowledgePackages(Collection<org.kie.definition.KnowledgePackage> knowledgePackages)
addKnowledgePackages
in interface org.kie.KnowledgeBase
public Collection<org.kie.definition.KnowledgePackage> getKnowledgePackages()
getKnowledgePackages
in interface org.kie.KnowledgeBase
public org.kie.runtime.StatefulKnowledgeSession newStatefulKnowledgeSession()
newStatefulKnowledgeSession
in interface org.kie.KnowledgeBase
public 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 KieBase
public Collection<org.kie.runtime.StatefulKnowledgeSession> getStatefulKnowledgeSessions()
getStatefulKnowledgeSessions
in interface org.kie.KnowledgeBase
public Collection<org.kie.runtime.StatefulKnowledgeSession> getKieSessions()
KieBase
getKieSessions
in interface KieBase
public org.kie.runtime.StatelessKnowledgeSession newStatelessKnowledgeSession()
newStatelessKnowledgeSession
in interface org.kie.KnowledgeBase
public org.kie.runtime.StatelessKnowledgeSession newStatelessKieSession()
KieBase
newStatelessKieSession
in interface KieBase
public org.kie.runtime.StatelessKnowledgeSession newStatelessKnowledgeSession(KieSessionConfiguration conf)
newStatelessKnowledgeSession
in interface org.kie.KnowledgeBase
public org.kie.runtime.StatelessKnowledgeSession newStatelessKieSession(KieSessionConfiguration conf)
KieBase
newStatelessKieSession
in interface KieBase
public void removeKnowledgePackage(String packageName)
removeKnowledgePackage
in interface org.kie.KnowledgeBase
public void removeRule(String packageName, String ruleName)
KieBase
removeRule
in interface KieBase
removeRule
in interface org.kie.KnowledgeBase
public void removeQuery(String packageName, String queryName)
KieBase
removeQuery
in interface KieBase
removeQuery
in interface org.kie.KnowledgeBase
public void removeFunction(String packageName, String ruleName)
KieBase
removeFunction
in interface KieBase
removeFunction
in interface org.kie.KnowledgeBase
public void removeProcess(String processId)
KieBase
removeProcess
in interface KieBase
removeProcess
in interface org.kie.KnowledgeBase
public FactType getFactType(String packageName, String typeName)
KieBase
getFactType
in interface KieBase
getFactType
in interface org.kie.KnowledgeBase
packageName
- 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.KnowledgeBase
public Process getProcess(String processId)
KieBase
getProcess
in interface KieBase
getProcess
in interface org.kie.KnowledgeBase
processId
- the id of the process
public Collection<Process> getProcesses()
getProcesses
in interface KieBase
getProcesses
in interface org.kie.KnowledgeBase
public Rule getRule(String packageName, String ruleName)
KieBase
getRule
in interface KieBase
getRule
in interface org.kie.KnowledgeBase
packageName
- 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 KieBase
getQuery
in interface org.kie.KnowledgeBase
packageName
- the package name to which the rule belongs to.
public org.drools.RuleBase getRuleBase()
getRuleBase
in interface org.drools.impl.InternalKnowledgeBase
public Set<String> getEntryPointIds()
KieBase
getEntryPointIds
in interface KieBase
getEntryPointIds
in interface org.kie.KnowledgeBase
public Collection<KiePackage> getKiePackages()
KieBase
getKiePackages
in interface KieBase
public KiePackage getKiePackage(String packageName)
KieBase
getKiePackage
in interface KieBase
packageName
- 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 |