Java Rule

Java code posted
created at 11 Mar 00:50, updated at 11 Mar 00:52

Edit | Back
1
2
3
4
5
6
rule "My Rule"
  when <LHS>
    Person(name == "John") <CEs>
  then <RHS>
    System.out.println("Hi John!"); <Actions>
end
128 Bytes in 22 ms with coderay