[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1934) Request for a Parameterized Condition Check in a Decision Table
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Wed May 13 21:49:46 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor updated JBRULES-1934:
----------------------------------
Assignee: Michael Neale (was: Mark Proctor)
> Request for a Parameterized Condition Check in a Decision Table
> ---------------------------------------------------------------
>
> Key: JBRULES-1934
> URL: https://jira.jboss.org/jira/browse/JBRULES-1934
> Project: JBoss Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: drools-guvnor
> Affects Versions: 5.0.0.M5
> Reporter: Ed Wallen
> Assignee: Michael Neale
>
> I would like to be able to pass the value of the decision table cell to a method that takes a parameter and returns true or false. The cell value can be formatted something like "valule":true or "value":false where the "true" or "false" result is specified after the value.
> Example below, the "hasTag" method should be exposed as a property that can be configured as a condition in the decision table:
> public Class A {
> private Collection<String> tags;
> public boolean hasTag(String value) {
> return tags.contain(value);
> };
> }
--
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
More information about the jboss-jira
mailing list