This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-02-14 05:44:03,983 [main] TRACE Insert [fact 0:0:472732980:1306428912:0:DEFAULT:org.drools.reteoo.InitialFactImpl@4dde85f0] | |
2013-02-14 05:44:03,988 [main] TRACE LinkNode notify=true nmask=1 smask=1 spos=0 rules= | |
2013-02-14 05:44:03,990 [main] TRACE LinkNode notify=true nmask=1 smask=1 spos=0 rules="existsBlah" "notBlah" "init" | |
2013-02-14 05:44:03,990 [main] TRACE LinkSegment smask=1 rmask=0 name=existsBlah | |
2013-02-14 05:44:03,990 [main] TRACE LinkSegment smask=1 rmask=0 name=notBlah | |
2013-02-14 05:44:03,990 [main] TRACE LinkSegment smask=1 rmask=0 name=init | |
2013-02-14 05:44:03,991 [main] TRACE LinkRule name=init | |
2013-02-14 05:44:03,997 [main] TRACE Insert [fact 0:1:2134042896:-1699558022:1:DEFAULT:[Person name='null age='0' likes='lamp']] | |
2013-02-14 05:44:04,004 [main] TRACE LinkNode notify=true nmask=2 smask=2 spos=0 rules="go7" | |
2013-02-14 05:44:04,005 [main] TRACE LinkNode notify=true nmask=1 smask=1 spos=0 rules="look" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule xxx | |
$b : Bird() | |
then | |
insertLogical( new Fly( $b ), PLUS ); | |
end | |
rule yyy | |
$b : Bird(weight>1000) | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testOperatorWithoutSpace() { | |
String str = "length == ($c.length -1)"; // only works with a space after the minus operator | |
ParserConfiguration pconf = new ParserConfiguration(); | |
ParserContext pctx = new ParserContext(pconf); | |
ExecutableStatement stmt = (ExecutableStatement) MVEL.compileExpression(str, pctx); | |
Column col1 = new Column("x",0); | |
Column col2 = new Column("x", 0); | |
Map<String, Object> vars = new HashMap<String, Object> (); |
NewerOlder