当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
SnippetBuilder - JBoss RULES 3.0.6 API 英文版文档
org.drools.decisiontable.model
Class SnippetBuilder
java.lang.Object
org.drools.decisiontable.model.SnippetBuilder
public class SnippetBuilder
- extends java.lang.Object
Method Summary |
java.lang.String |
build(java.lang.String cellValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnippetBuilder
public SnippetBuilder(java.lang.String snippetTemplate)
- Parameters:
snippetTemplate
- The snippet including the "place holder" for a parameter. If
no "place holder" is present,
build
public java.lang.String build(java.lang.String cellValue)
- Parameters:
cellValue
- The value from the cell to populate the snippet with. If no
place holder exists, will just return the snippet.
- Returns:
- The final snippet.