public class Drools extends Object implements RulesEngine
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
static String |
USE_EQUALITY_ASSERT_BEHAVIOR |
| Constructor and Description |
|---|
Drools() |
| Modifier and Type | Method and Description |
|---|---|
Object |
assertEvent(Rules rules,
Object event,
String entryPoint) |
Object |
assertFact(Rules rules,
Object fact) |
Object |
createSession(Rules rules) |
void |
disposeSession(Object sessionData) |
String |
getName() |
void |
retractFact(Rules rules,
Object fact) |
void |
setMessageService(MessageService messageService) |
void |
setName(String name) |
public static final String USE_EQUALITY_ASSERT_BEHAVIOR
protected static final org.slf4j.Logger logger
public Object createSession(Rules rules) throws Exception
createSession in interface RulesEngineExceptionpublic void disposeSession(Object sessionData) throws Exception
disposeSession in interface RulesEngineExceptionpublic Object assertFact(Rules rules, Object fact) throws Exception
assertFact in interface RulesEngineExceptionpublic void retractFact(Rules rules, Object fact) throws Exception
retractFact in interface RulesEngineExceptionpublic Object assertEvent(Rules rules, Object event, String entryPoint) throws Exception
assertEvent in interface RulesEngineExceptionpublic void setMessageService(MessageService messageService)
setMessageService in interface RulesEnginepublic void setName(String name)
setName in interface org.mule.api.NameableObjectpublic String getName()
getName in interface org.mule.api.NamedObjectCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.