Created
August 11, 2020 10:52
-
-
Save ashkrit/b39a822be29aef7dc30427d266ad184e to your computer and use it in GitHub Desktop.
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
String dsl = args[0]; | |
System.out.println(dsl); | |
CompilationContext context = new CompilationContext("FXTradeTemplate", dsl); | |
Function<CompilationContext, RuleEngine<FXTransaction>> pipeline = RuleEnginePipeline.pipeline(); | |
RuleEngine<FXTransaction> rules = pipeline.apply(context); | |
System.out.format("Rule Name %s \n", rules.name); | |
System.out.format("Rules %s \n", rules.constraints); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment