| 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, supportsOfflineEvaluationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluate, getSummary, processRulepublic 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)
RuleruleInstance - 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)