public class ArdenServiceImpl extends Object implements ArdenService
Constructor and Description |
---|
ArdenServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
compile(String ardenRuleDefinition,
String outputDir)
Parse arden rule definition from a string and then output java file in the designated output
directory.
|
void |
compileFile(String file,
String outFolder) |
public void compileFile(String file, String outFolder)
compileFile
in interface ArdenService
file
- - mlm file to be parsedpublic void compile(String ardenRuleDefinition, String outputDir) throws APIException
ArdenService
Rule
object that
can be used using the logic servicecompile
in interface ArdenService
ardenRuleDefinition
- the rule definition to be parsedoutputDir
- the java output directory location. this is not the full path with the
package structureAPIException
ArdenService.compile(java.lang.String, java.lang.String)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.