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

SnippetBuilder - JBoss RULES 3.0.6 API 英文版文档


org.drools.decisiontable.model
Class SnippetBuilder

java.lang.Object
  extended by org.drools.decisiontable.model.SnippetBuilder

public class SnippetBuilder
extends java.lang.Object


Constructor Summary
SnippetBuilder(java.lang.String snippetTemplate)
           
 
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
 

Constructor Detail

SnippetBuilder

public SnippetBuilder(java.lang.String snippetTemplate)
Parameters:
snippetTemplate - The snippet including the "place holder" for a parameter. If no "place holder" is present,
Method Detail

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.