RAOAction hierarchy
instead@Deprecated public abstract class AbstractDroolsRuleAction extends java.lang.Object implements RuleAction
| Constructor and Description |
|---|
AbstractDroolsRuleAction()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected KnowledgeHelper |
checkAndGetRuleContext(java.lang.Object ruleContext)
Deprecated.
Checks that the given
ruleContext is of type KnowledgeHelper (i.e. |
protected ConfigurationService |
getConfigurationService()
Deprecated.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getMetaDataFromRule(Rule rule)
Deprecated.
|
protected java.lang.String |
getMetaDataFromRule(Rule rule,
java.lang.String key)
Deprecated.
Returns the rule's meta-data for the given key (or
null). |
protected java.lang.String |
getRuleCode(KnowledgeHelper context)
Deprecated.
Returns the rule's rule code meta data.
|
void |
insertFacts(java.lang.Object engineContext,
java.util.Collection facts)
Deprecated.
Inserts the facts given in collection using the given context.
|
void |
insertFacts(java.lang.Object engineContext,
java.lang.Object... facts)
Deprecated.
Inserts the given facts using the given context.
|
void |
setConfigurationService(ConfigurationService configurationService)
Deprecated.
|
void |
updateFacts(java.lang.Object engineContext,
java.lang.Object... facts)
Deprecated.
Updates the given facts using the given context.
|
protected void |
validateRule(KnowledgeHelper context)
Deprecated.
Validates that the required meta-data is available.
|
public void insertFacts(java.lang.Object engineContext,
java.lang.Object... facts)
RuleActioninsertFacts in interface RuleActionengineContext - the contextfacts - the facts to insertpublic void insertFacts(java.lang.Object engineContext,
java.util.Collection facts)
RuleActioninsertFacts in interface RuleActionengineContext - the contextfacts - the Collection of facts to insertpublic void updateFacts(java.lang.Object engineContext,
java.lang.Object... facts)
RuleActionupdateFacts in interface RuleActionengineContext - the contextfacts - the facts to updateprotected KnowledgeHelper checkAndGetRuleContext(java.lang.Object ruleContext)
ruleContext is of type KnowledgeHelper (i.e. drools-specific)ruleContext - the object to checkKnowledgeHelperprotected void validateRule(KnowledgeHelper context)
droolsruleengineservices.validate.droolsrule.rulecode to false.context - instance of KnowledgeHelperprotected java.lang.String getRuleCode(KnowledgeHelper context)
context - the contextprotected java.lang.String getMetaDataFromRule(Rule rule,
java.lang.String key)
null). Calls toString() on the meta-data
object.rule - the rulekey - the key of the meta-datapublic void setConfigurationService(ConfigurationService configurationService)
protected ConfigurationService getConfigurationService()
protected java.util.Map<java.lang.String,java.lang.String> getMetaDataFromRule(Rule rule)
Copyright © 2017 SAP SE. All Rights Reserved.