Hi,
following example:
Item Class:
public class MyItem {
public MyItem() {}
public String getMessage()
{
return "Hello World!";
}
}
DSL:
[condition][]is of type MyItem=MyItem()
[consequence][]write "{value}" to
stdout=System.out.println("{value}");
DSRL File:
rule
when
$item: is of type MyItem
then
write $item.getMessage() to stdout
end
Is this "write $item.getMessage() to stdout" possible in any way?
Currently i'm not able to get it to work ...
Cheers
Markus