public interface RuleBackendRuntime
Modifier and Type | Method and Description |
---|---|
void |
addRuleSet(org.wso2.carbon.rule.common.RuleSet ruleSet)
Adds the rule set to back end runtime.
|
Session |
createSession(int type)
Some rules engines support different sessions types.
|
void addRuleSet(org.wso2.carbon.rule.common.RuleSet ruleSet) throws org.wso2.carbon.rule.common.exception.RuleConfigurationException
ruleSet
- - rule set to be added to runtimeorg.wso2.carbon.rule.common.exception.RuleConfigurationException
- - if there are problems with the configuarationSession createSession(int type) throws org.wso2.carbon.rule.common.exception.RuleRuntimeException
type
- - whether it is a stateful or stateless sesstionorg.wso2.carbon.rule.common.exception.RuleRuntimeException
- - if could not create the sessionCopyright © 2019 WSO2. All rights reserved.