Package | Description |
---|---|
org.drools.core |
This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactory
|
org.drools.core.base | |
org.drools.core.base.accumulators | |
org.drools.core.base.dataproviders | |
org.drools.core.base.extractors | |
org.drools.core.base.mvel | |
org.drools.core.common | |
org.drools.core.definitions | |
org.drools.core.definitions.impl | |
org.drools.core.definitions.rule.impl | |
org.drools.core.event |
Events provide all sorts of call backs to monitor the engine as it is running.
|
org.drools.core.impl | |
org.drools.core.phreak | |
org.drools.core.reteoo | |
org.drools.core.reteoo.builder | |
org.drools.core.rule |
Contains the binary representations of rule constructs, like Package (which the compiler produces), Rule, and Conditional Elements.
|
org.drools.core.runtime.rule.impl | |
org.drools.core.spi | |
org.drools.core.util.debug |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
QueryActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
ActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
RuleActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
DefaultKnowledgeHelper.getRule() |
RuleImpl |
SequentialKnowledgeHelper.getRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
EnabledBoolean.getValue(Tuple tuple,
Declaration[] declrs,
RuleImpl rule,
WorkingMemory workingMemory) |
void |
StandardQueryViewChangedEventListener.rowAdded(RuleImpl rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
NonCloningQueryViewListener.rowAdded(RuleImpl rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
InternalViewChangedEventListener.rowAdded(RuleImpl rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
StandardQueryViewChangedEventListener.rowRemoved(RuleImpl rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
NonCloningQueryViewListener.rowRemoved(RuleImpl rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
InternalViewChangedEventListener.rowRemoved(RuleImpl rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
StandardQueryViewChangedEventListener.rowUpdated(RuleImpl rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
NonCloningQueryViewListener.rowUpdated(RuleImpl rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
InternalViewChangedEventListener.rowUpdated(RuleImpl rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
Modifier and Type | Method and Description |
---|---|
void |
MVELAccumulatorFunctionExecutor.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
Modifier and Type | Method and Description |
---|---|
void |
MVELDataProvider.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
Modifier and Type | Method and Description |
---|---|
void |
MVELObjectClassFieldReader.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELDateClassFieldReader.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELNumberClassFieldReader.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
Modifier and Type | Method and Description |
---|---|
void |
MVELEnabledExpression.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELObjectExpression.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELSalienceExpression.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELEvalExpression.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELReturnValueExpression.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELAccumulator.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELPredicateExpression.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELConsequence.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
void |
MVELCompileable.compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
boolean |
MVELEnabledExpression.getValue(Tuple tuple,
Declaration[] declrs,
RuleImpl rule,
WorkingMemory workingMemory) |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
VisitedAgendaGroup.getRule() |
RuleImpl |
AgendaItem.getRule() |
RuleImpl |
ScheduledAgendaItem.getRule() |
RuleImpl |
AgendaItemImpl.getRule()
Retrieve the rule.
|
RuleImpl |
PhreakPropagationContext.getRuleOrigin() |
Modifier and Type | Method and Description |
---|---|
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf) |
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf,
boolean read) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
BitMask modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
BitMask modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
BitMask modificationMask) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
BitMask modificationMask) |
void |
InternalWorkingMemory.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
Activation activation) |
void |
InternalWorkingMemoryActions.delete(org.kie.api.runtime.rule.FactHandle handle,
RuleImpl rule,
Activation activation) |
void |
InternalWorkingMemoryEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
Activation activation) |
void |
NamedEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
Activation activation) |
void |
InternalWorkingMemory.insert(InternalFactHandle handle,
Object object,
RuleImpl rule,
Activation activation,
ObjectTypeConf typeConf) |
void |
NamedEntryPoint.insert(InternalFactHandle handle,
Object object,
RuleImpl rule,
Activation activation,
ObjectTypeConf typeConf,
PropagationContext pctx) |
org.kie.api.runtime.rule.FactHandle |
InternalWorkingMemoryActions.insert(Object object,
Object value,
boolean dynamic,
boolean logical,
RuleImpl rule,
Activation activation) |
org.kie.api.runtime.rule.FactHandle |
NamedEntryPoint.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
RuleImpl rule,
Activation activation) |
void |
TruthMaintenanceSystem.readLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf)
Adds a justification for the FactHandle to the justifiedMap.
|
static <M extends ModedAssertion<M>> |
TruthMaintenanceSystemHelper.removeLogicalDependencies(Activation<M> activation,
PropagationContext context,
RuleImpl rule) |
void |
NamedEntryPoint.update(InternalFactHandle handle,
Object object,
Object originalObject,
ObjectTypeConf typeConf,
RuleImpl rule,
PropagationContext propagationContext) |
Constructor and Description |
---|
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle) |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
BitMask modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
BitMask modificationMask) |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
InternalKnowledgePackage.getRule(String name) |
Modifier and Type | Method and Description |
---|---|
List<RuleImpl> |
InternalKnowledgePackage.removeRulesGeneratedFromResource(org.kie.api.io.Resource resource) |
Modifier and Type | Method and Description |
---|---|
void |
InternalKnowledgePackage.addRule(RuleImpl rule) |
void |
InternalKnowledgePackage.removeRule(RuleImpl rule) |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
KnowledgePackageImpl.getRule(String name)
Retrieve a
Rule by name. |
Modifier and Type | Method and Description |
---|---|
List<RuleImpl> |
KnowledgePackageImpl.getRulesGeneratedFromResource(org.kie.api.io.Resource resource) |
List<RuleImpl> |
KnowledgePackageImpl.removeRulesGeneratedFromResource(org.kie.api.io.Resource resource) |
Modifier and Type | Method and Description |
---|---|
void |
KnowledgePackageImpl.addRule(RuleImpl rule)
Add a
Rule to this Package . |
void |
KnowledgePackageImpl.removeRule(RuleImpl rule) |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
RuleImpl.getParent() |
Modifier and Type | Method and Description |
---|---|
boolean |
RuleImpl.SafeEnabled.getValue(Tuple tuple,
Declaration[] declrs,
RuleImpl rule,
WorkingMemory workingMemory) |
void |
RuleImpl.setParent(RuleImpl parent) |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
KnowledgeBaseEvent.getRule() |
Modifier and Type | Method and Description |
---|---|
void |
KieBaseEventSupport.fireAfterRuleAdded(InternalKnowledgePackage newPkg,
RuleImpl rule) |
void |
KieBaseEventSupport.fireAfterRuleRemoved(InternalKnowledgePackage pkg,
RuleImpl rule) |
void |
KieBaseEventSupport.fireBeforeRuleAdded(InternalKnowledgePackage newPkg,
RuleImpl rule) |
void |
KieBaseEventSupport.fireBeforeRuleRemoved(InternalKnowledgePackage pkg,
RuleImpl rule) |
Constructor and Description |
---|
KnowledgeBaseEvent(InternalKnowledgeBase kBase,
InternalKnowledgePackage pkg,
RuleImpl rule) |
Modifier and Type | Method and Description |
---|---|
void |
KnowledgeBaseImpl.addRule(InternalKnowledgePackage pkg,
RuleImpl rule) |
void |
InternalKnowledgeBase.addRule(InternalKnowledgePackage pkg,
RuleImpl rule) |
protected void |
KnowledgeBaseImpl.addRule(RuleImpl rule) |
void |
StatefulKnowledgeSessionImpl.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
Activation activation) |
void |
StatefulKnowledgeSessionImpl.insert(InternalFactHandle handle,
Object object,
RuleImpl rule,
Activation activation,
ObjectTypeConf typeConf) |
org.kie.api.runtime.rule.FactHandle |
StatefulKnowledgeSessionImpl.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
RuleImpl rule,
Activation activation) |
void |
KnowledgeBaseImpl.removeRule(InternalKnowledgePackage pkg,
RuleImpl rule)
Notify listeners and sub-classes about imminent removal of a rule from a package.
|
void |
InternalKnowledgeBase.removeRule(InternalKnowledgePackage pkg,
RuleImpl rule) |
protected void |
KnowledgeBaseImpl.removeRule(RuleImpl rule) |
Constructor and Description |
---|
StatefulKnowledgeSessionImpl.WorkingMemoryReteAssertAction(InternalFactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
RuleImpl ruleOrigin,
LeftTuple leftTuple) |
Modifier and Type | Method and Description |
---|---|
static int |
AddRemoveRule.getSegmentPos(LeftTupleSource lts,
RuleImpl removingRule) |
static boolean |
SegmentUtilities.parentInSameSegment(LeftTupleSource lt,
RuleImpl removingRule) |
Modifier and Type | Field and Description |
---|---|
protected RuleImpl |
RuleTerminalNode.rule
The rule to invoke upon match.
|
Modifier and Type | Method and Description |
---|---|
RuleImpl |
PathMemory.getRule() |
RuleImpl |
RuleTerminalNode.getRule()
Retrieve the
Action associated with this node. |
abstract RuleImpl |
AbstractTerminalNode.getRule() |
RuleImpl |
TerminalNode.getRule() |
RuleImpl |
QueryTerminalNode.getRule() |
RuleImpl |
RuleTerminalNodeLeftTuple.getRule()
Retrieve the rule.
|
Modifier and Type | Method and Description |
---|---|
void |
ReteooBuilder.addRule(RuleImpl rule)
Add a
Rule to the network. |
List<TerminalNode> |
RuleBuilder.addRule(RuleImpl rule,
InternalKnowledgeBase kBase,
ReteooBuilder.IdGenerator idGenerator) |
BaseNode[] |
ReteooBuilder.getTerminalNodes(RuleImpl rule) |
static void |
AbstractTerminalNode.initPathMemory(PathMemory pmem,
LeftTupleSource tupleSource,
LeftTupleSource startTupleSource,
InternalWorkingMemory wm,
RuleImpl removingRule)
Creates and return the node memory
|
void |
ReteooBuilder.removeRule(RuleImpl rule) |
void |
QueryElementNode.UnificationNodeViewChangedEventListener.rowAdded(RuleImpl rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
QueryElementNode.UnificationNodeViewChangedEventListener.rowRemoved(RuleImpl rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
QueryElementNode.UnificationNodeViewChangedEventListener.rowUpdated(RuleImpl rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
Constructor and Description |
---|
QueryTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context)
Constructor
|
RuleTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
BuildContext.getRule() |
Modifier and Type | Method and Description |
---|---|
List<TerminalNode> |
ReteooRuleBuilder.addRule(RuleImpl rule,
InternalKnowledgeBase kBase,
ReteooBuilder.IdGenerator idGenerator)
Creates the corresponting Rete network for the given
Rule and adds it to
the given rule base. |
TerminalNode |
PhreakNodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
NodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
PhreakNodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
NodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
void |
BuildContext.setRule(RuleImpl rule) |
Modifier and Type | Class and Description |
---|---|
class |
AbductiveQuery |
class |
QueryImpl |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
DuplicateRuleNameException.getConflictingRule()
Retrieve the new conflicting
Rule . |
RuleImpl |
DuplicateRuleNameException.getOriginalRule()
Retrieve the original
Rule in the Package . |
RuleImpl |
InvalidRuleException.getRule()
Retrieve the invalid
Rule . |
Modifier and Type | Method and Description |
---|---|
void |
JavaDialectRuntimeData.removeRule(KnowledgePackageImpl pkg,
RuleImpl rule) |
DialectRuntimeData |
DialectRuntimeRegistry.removeRule(KnowledgePackageImpl pkg,
RuleImpl rule) |
void |
MVELDialectRuntimeData.removeRule(KnowledgePackageImpl pkg,
RuleImpl rule) |
void |
DialectRuntimeData.removeRule(KnowledgePackageImpl pkg,
RuleImpl rule) |
Constructor and Description |
---|
DuplicateRuleNameException(Package pkg,
RuleImpl originalRule,
RuleImpl conflictingRule) |
DuplicateRuleNameException(Package pkg,
RuleImpl originalRule,
RuleImpl conflictingRule,
Throwable cause) |
InvalidRuleException(RuleImpl rule) |
InvalidRuleException(String message,
RuleImpl rule) |
InvalidRuleException(String message,
RuleImpl rule,
Throwable cause) |
NoConsequenceException(RuleImpl rule)
Construct.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenQueryViewChangedEventListenerAdapter.rowAdded(RuleImpl rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
OpenQueryViewChangedEventListenerAdapter.rowRemoved(RuleImpl rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
OpenQueryViewChangedEventListenerAdapter.rowUpdated(RuleImpl rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
Constructor and Description |
---|
RowAdapter(RuleImpl rule,
LeftTuple leftTuple) |
Modifier and Type | Method and Description |
---|---|
RuleImpl |
KnowledgeHelper.getRule() |
RuleImpl |
ConsequenceException.getRule() |
RuleImpl |
Activation.getRule() |
RuleImpl |
PropagationContext.getRuleOrigin() |
Modifier and Type | Method and Description |
---|---|
boolean |
DeclarationScopeResolver.available(RuleImpl rule,
String name) |
Declaration |
DeclarationScopeResolver.getDeclaration(RuleImpl rule,
String identifier) |
Map<String,Class<?>> |
DeclarationScopeResolver.getDeclarationClasses(RuleImpl rule) |
Map<String,Declaration> |
DeclarationScopeResolver.getDeclarations(RuleImpl rule) |
Map<String,Declaration> |
DeclarationScopeResolver.getDeclarations(RuleImpl rule,
String consequenceName)
Return all declarations scoped to the current
RuleConditionElement in the build stack
|
boolean |
Enabled.getValue(Tuple tuple,
Declaration[] declrs,
RuleImpl rule,
WorkingMemory workingMemory) |
boolean |
DeclarationScopeResolver.isDuplicated(RuleImpl rule,
String name,
String type) |
Constructor and Description |
---|
ConsequenceException(RuleImpl rule) |
ConsequenceException(String message,
RuleImpl rule)
Construct with a message.
|
ConsequenceException(String message,
RuleImpl rule,
String info) |
ConsequenceException(Throwable rootCause,
RuleImpl rule)
Construct with a root cause.
|
ConsequenceException(Throwable rootCause,
RuleImpl rule,
String info)
Construct with a root cause.
|
Modifier and Type | Method and Description |
---|---|
Set<RuleImpl> |
DefaultNodeInfo.getRules() |
Set<RuleImpl> |
NodeInfo.getRules()
Returns the set of rules this node belongs to
|
Modifier and Type | Method and Description |
---|---|
void |
StatefulKnowledgeSessionInfo.assign(NetworkNode snode,
RuleImpl rule) |
void |
DefaultNodeInfo.assign(RuleImpl rule) |
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.