Created
January 13, 2017 21:53
-
-
Save tarilabs/a8a668d7b9db3320b36d5e63d99e48d8 to your computer and use it in GitHub Desktop.
dump GDST to DRL
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
org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 unmarshal = | |
org.drools.workbench.models.guided.dtable.backend.GuidedDTXMLPersistence.getInstance().unmarshal( | |
new String(Files.readAllBytes(Paths.get("src/main/resources/guidedTable.gdst"))) | |
); | |
String drl = org.drools.workbench.models.guided.dtable.backend.GuidedDTDRLPersistence.getInstance().marshal(unmarshal); | |
System.out.println(drl); |
Author
tarilabs
commented
Jul 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment