org.drools.eclipse.wizard.rule
Class DRLGenerator
java.lang.Object
org.drools.eclipse.wizard.rule.DRLGenerator
public class DRLGenerator
- extends Object
This will generate DRL bits and bobs based on various templates.
For use by the wizards only.
TODO: move this to string template (as it is being used elsewhere in drools)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DRLGenerator
public DRLGenerator()
generateRule
public InputStream generateRule(String packageName,
InputStream template)
throws IOException
- Throws:
IOException
generatePackage
public InputStream generatePackage(String packageName,
boolean functions,
boolean expander,
InputStream template)
throws IOException
- Throws:
IOException
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.