站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

Consequence - JBoss RULES 3.0.6 API 英文版文档


org.drools.decisiontable.model
Class Consequence

java.lang.Object
  extended by org.drools.decisiontable.model.DRLElement
      extended by org.drools.decisiontable.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.


Constructor Summary
Consequence()
           
 
Method Summary
 java.lang.String getSnippet()
           
 void renderDRL(DRLOutput out)
          Each node can add its contribution to the output
 void setSnippet(java.lang.String snippet)
           
 
Methods inherited from class org.drools.decisiontable.model.DRLElement
setComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Consequence

public Consequence()
Method Detail

setSnippet

public void setSnippet(java.lang.String snippet)
Parameters:
_snippet - The _snippet to set.

getSnippet

public java.lang.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