Constructor and Description |
---|
BaseFreemarkerRule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormHTML(RuleInstance ruleInstance,
java.util.Map<java.lang.String,java.lang.Object> context,
java.util.Map<java.lang.String,java.lang.String> values)
Returns the HTML code containing the form fields required to edit the
rule instance configuration, based on the context.
|
protected java.lang.String |
getFormTemplatePath() |
protected void |
populateContext(RuleInstance ruleInstance,
java.util.Map<java.lang.String,java.lang.Object> context,
java.util.Map<java.lang.String,java.lang.String> values) |
activate, deActivate, deleteData, evaluate, exportData, getCacheTime, getDescription, getExportImportErrorMessage, getIcon, getName, getRuleCategoryKey, getRuleKey, getShortDescription, importData, isInstantiable, isVisible, supportsOfflineEvaluation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate, getSummary, processRule
public java.lang.String getFormHTML(RuleInstance ruleInstance, java.util.Map<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.String> values)
Rule
ruleInstance
- the rule instance with stored configurationcontext
- the map defining the form evaluation contextvalues
- the values configured by users for the current rule
instance based on the form controls from the HTML. This will be
used when there is an error and the form is reloaded.protected java.lang.String getFormTemplatePath()
protected void populateContext(RuleInstance ruleInstance, java.util.Map<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.String> values)