[
https://jira.jboss.org/jira/browse/JBRULES-2285?page=com.atlassian.jira.p...
]
Edson Tirelli closed JBRULES-2285.
----------------------------------
Fix Version/s: 5.1.0.M2
Resolution: Done
Fixed.
$ svn commit -m "JBRULES-2285: adding entry point ID access method to the
drools-api" drools-core/src/main/java/org/drools/impl/StatefulKnowledgeSess
ionImpl.java
drools-core/src/main/java/org/drools/command/impl/CommandBasedStatefulKnowledgeSession.java
drools-core/src/main/java/org/drools/common/
NamedEntryPoint.java
drools-core/src/main/java/org/drools/common/AbstractWorkingMemory.java
drools-compiler/src/test/java/org/drools/testframework/Mo
ckWorkingMemory.java
drools-vsm/src/main/java/org/drools/vsm/StatefulKnowledgeSessionClient.java
drools-api/src/main/java/org/drools/runtime/rule/Wor
kingMemoryEntryPoint.java
Sending
drools-api/src/main/java/org/drools/runtime/rule/WorkingMemoryEntryPoint.java
Sending
drools-compiler/src/test/java/org/drools/testframework/MockWorkingMemory.java
Sending
drools-core/src/main/java/org/drools/command/impl/CommandBasedStatefulKnowledgeSession.java
Sending drools-core/src/main/java/org/drools/common/AbstractWorkingMemory.java
Sending drools-core/src/main/java/org/drools/common/NamedEntryPoint.java
Sending
drools-core/src/main/java/org/drools/impl/StatefulKnowledgeSessionImpl.java
Sending
drools-vsm/src/main/java/org/drools/vsm/StatefulKnowledgeSessionClient.java
Transmitting file data .......
Committed revision 29516.
retrieving streams/entry points IDs from java api
-------------------------------------------------
Key: JBRULES-2285
URL:
https://jira.jboss.org/jira/browse/JBRULES-2285
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: drools-api
Affects Versions: 5.0.1.FINAL
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 5.1.0.M2
Hello,
I am trying to determine, iterate the working memory streams within my rule by doing the
following:
for(WorkingMemoryEntryPoint entry :
session.getWorkingMemoryEntryPoints()){
System.err.println("entry point stream: " +
entry.toString());
}
But I can find no method/way to finid the actual text name of the entry point(what is
written in the rule as from entry-point "xxxx").
Is there a way to do this? To list the readable names of the entry points from your
session? I would like to list those entry points in a drop down as application profiles,
so if they have one selected, one entry point of rules will be inserted to and so on..
Thanks,
Chris
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira