[rules-users] generic properties
Edson Tirelli
tirelli at post.com
Wed Jul 23 14:33:08 EDT 2008
If you make your map available through a get, you can use simplified Map
syntax like this:
public Map getStringParameters() {
return stringParameter;
}
io: InputObject ( stringParameters["propertyname"] == "something")
[]s
Edson
2008/7/23 thomas kukofka <thomaskukofka at web.de>:
> Hello ,
>
> I just recognized, that this doesn't work. But it is possible to use plain
> Java code in the rule, also if-conditions and for and while-loops etc..
> However more Java code makes the rule less readable and elegant.
> Is there another possibility to use generic input objects?
>
> Thomas
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080723/e4b8b113/attachment.html
More information about the rules-users
mailing list