Toggle navigation
Home
org.kie.internal.runtime.StatefulKnowledgeSession to org.kie.api.runtime.KieSession
No. of Instances - 179
No. of Commits - 3
No. of Projects - {'jbpm'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: External -> External
Mapping:
Add or Remove Method invocation
createKnowledgeSession()
to
createKieSession()
createKnowledgeSession()
to
createKieSession()
kbase.newStatefulKnowledgeSession(config,createEnvironment(context))
to
kbase.newKieSession(config,createEnvironment(context))
kbase.newStatefulKnowledgeSession(conf,null)
to
kbase.newKieSession(conf,null)
ksession.retract(fact)
to
ksession.delete(fact)
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
addKnowledgePackages
to
addPackages
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
knowledgeBaseA.newStatefulKnowledgeSession(ksconf,null)
to
knowledgeBaseA.newKieSession(ksconf,null)
verifierKnowledgeBase.newStatefulKnowledgeSession()
to
verifierKnowledgeBase.newKieSession()
knowledgeBase.newStatefulKnowledgeSession(ksconf,null)
to
knowledgeBase.newKieSession(ksconf,null)
addKnowledgePackages
to
addPackages
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
kbase.newStatefulKnowledgeSession(sessionConfig,null)
to
kbase.newKieSession(sessionConfig,null)
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
addKnowledgePackages
to
addPackages
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
addKnowledgePackages
to
addPackages
addKnowledgePackages
to
addPackages
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
kbase.newStatefulKnowledgeSession()
to
kbase.newKieSession()
Rename Method invocation
newStatefulKnowledgeSession
to
newKieSession
newStatefulKnowledgeSession
to
newKieSession
newStatefulKnowledgeSession
to
newKieSession
newStatefulKnowledgeSession
to
newKieSession
newStatefulKnowledgeSession
to
newKieSession
newStatefulKnowledgeSession
to
newKieSession
newStatefulKnowledgeSession
to
newKieSession
retract
to
delete
removeKnowledgePackage
to
removeKiePackage
removeKnowledgePackage
to
removeKiePackage
newStatefulKnowledgeSession
to
newKieSession
newStatelessKnowledgeSession
to
newStatelessKieSession
newStatefulKnowledgeSession
to
newKieSession
newStatefulKnowledgeSession
to
newKieSession
removeKnowledgePackage
to
removeKiePackage
newStatefulKnowledgeSession
to
newKieSession
removeKnowledgePackage
to
removeKiePackage
newStatefulKnowledgeSession
to
newKieSession
newStatefulKnowledgeSession
to
newKieSession
Update Anonymous class
{ public Boolean call() throws Exception { try { FactHandle[] facts=new FactHandle[OBJECT_NR]; for (int i=0; i < OBJECT_NR; i++) facts[i]=ksession.insert(new Bean(i)); ksession.fireAllRules(); for ( FactHandle fact : facts) ksession.retract(fact); ksession.fireAllRules(); return true; } catch ( Exception e) { e.printStackTrace(); return false; } } }
to
{ public Boolean call() throws Exception { try { FactHandle[] facts=new FactHandle[objectCount]; for (int i=0; i < objectCount; i++) facts[i]=ksession.insert(new Bean(i)); ksession.fireAllRules(); for ( FactHandle fact : facts) ksession.delete(fact); ksession.fireAllRules(); return true; } catch ( Exception e) { e.printStackTrace(); return false; } } }
Other
new String[]{"value1"}
to
arguments
Cascading Type Change (Different)
org.kie.api.runtime.rule.QueryResults
to
QueryResultsImpl
StatelessKnowledgeSession
to
StatelessKieSession
Introduce Literal
"assertedobjquery"
to
queryName