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: Mark Proctor
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