Package org.drools.template.model
Class Consequence
java.lang.Object
org.drools.template.model.DRLElement
org.drools.template.model.Consequence
- All Implemented Interfaces:
DRLJavaEmitter
This represents a RHS fragement. A rule may have many of these, or just one.
They are all mushed together.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEach node can add its contribution to the outputvoidsetSnippet(String snippet) Methods inherited from class org.drools.template.model.DRLElement
setComment
-
Constructor Details
-
Consequence
public Consequence()
-
-
Method Details
-
setSnippet
- Parameters:
snippet- The snippet to set.
-
getSnippet
-
renderDRL
Description copied from interface:DRLJavaEmitterEach node can add its contribution to the output- Specified by:
renderDRLin interfaceDRLJavaEmitter
-