org.drools.template.model
Class Consequence
java.lang.Object
org.drools.template.model.DRLElement
org.drools.template.model.Consequence
- All Implemented Interfaces:
- DRLJavaEmitter
public class Consequence
- extends DRLElement
- implements DRLJavaEmitter
This represents a RHS fragement. A rule may have many of these, or just one.
They are all mushed together.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Consequence
public Consequence()
setSnippet
public void setSnippet(String snippet)
- Parameters:
_snippet
- The _snippet to set.
getSnippet
public String getSnippet()
renderDRL
public void renderDRL(DRLOutput out)
- Description copied from interface:
DRLJavaEmitter
- Each node can add its contribution to the output
- Specified by:
renderDRL
in interface DRLJavaEmitter
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.