Skip to content

Instantly share code, notes, and snippets.

@tarilabs
Last active January 13, 2017 21:51
Show Gist options
  • Save tarilabs/48bc2a82f081a4cebe1e43c9154e4fd2 to your computer and use it in GitHub Desktop.
Save tarilabs/48bc2a82f081a4cebe1e43c9154e4fd2 to your computer and use it in GitHub Desktop.
quickcheck with KieHelper and Java 8
KieSession kieSessionHelper = new KieHelper()
.addContent(new String(Files.readAllBytes(Paths.get("src/main/resources/myRules.drl"))), ResourceType.DRL)
.build().newKieSession();
ReteDumper.dumpRete(kieSessionHelper);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment