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.mvel | |
org.drools.core.common | |
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 |
---|---|
Rule |
RuleIntegrationException.getRule()
Retrieve the
Rule . |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
QueryActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
ActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
RuleActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
Constructor and Description |
---|
RuleIntegrationException(Rule rule) |
RuleIntegrationException(Rule rule,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Rule |
DefaultKnowledgeHelper.getRule() |
Rule |
SequentialKnowledgeHelper.getRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
EnabledBoolean.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory) |
void |
StandardQueryViewChangedEventListener.rowAdded(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
NonCloningQueryViewListener.rowAdded(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
InternalViewChangedEventListener.rowAdded(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
StandardQueryViewChangedEventListener.rowRemoved(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
NonCloningQueryViewListener.rowRemoved(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
InternalViewChangedEventListener.rowRemoved(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
StandardQueryViewChangedEventListener.rowUpdated(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
NonCloningQueryViewListener.rowUpdated(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
InternalViewChangedEventListener.rowUpdated(Rule rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
Modifier and Type | Method and Description |
---|---|
boolean |
MVELEnabledExpression.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory) |
Modifier and Type | Method and Description |
---|---|
Rule |
AgendaItem.getRule() |
Rule |
ScheduledAgendaItem.getRule() |
Rule |
AgendaItemImpl.getRule()
Retrieve the rule.
|
Rule |
PhreakPropagationContext.getRuleOrigin() |
Modifier and Type | Method and Description |
---|---|
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
Rule rule,
ObjectTypeConf typeConf) |
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
Rule rule,
ObjectTypeConf typeConf,
boolean read) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
long modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
long modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
long modificationMask) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
long modificationMask) |
void |
InternalWorkingMemory.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
AbstractWorkingMemory.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
InternalWorkingMemoryActions.delete(FactHandle handle,
Rule rule,
Activation activation) |
void |
InternalWorkingMemoryEntryPoint.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
NamedEntryPoint.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
InternalWorkingMemory.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf) |
void |
AbstractWorkingMemory.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf) |
void |
NamedEntryPoint.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf,
PropagationContext pctx) |
FactHandle |
AbstractWorkingMemory.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
FactHandle |
InternalWorkingMemoryActions.insert(Object object,
Object value,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
protected FactHandle |
NamedEntryPoint.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
void |
TruthMaintenanceSystem.readLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
Rule rule,
ObjectTypeConf typeConf)
Adds a justification for the FactHandle to the justifiedMap.
|
static void |
TruthMaintenanceSystemHelper.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule) |
Constructor and Description |
---|
AbstractWorkingMemory.WorkingMemoryReteAssertAction(InternalFactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule ruleOrigin,
LeftTuple leftTuple) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
long modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
long modificationMask) |
Modifier and Type | Method and Description |
---|---|
void |
KnowledgePackageImp.removeRule(Rule rule)
Delegate method to remove a Rule by its name.
|
Modifier and Type | Method and Description |
---|---|
Rule |
RuleImpl.getRule() |
Constructor and Description |
---|
RuleImpl(Rule rule) |
Modifier and Type | Method and Description |
---|---|
Rule |
RuleBaseEvent.getRule() |
Modifier and Type | Method and Description |
---|---|
void |
RuleBaseEventSupport.fireAfterRuleAdded(Package newPkg,
Rule rule) |
void |
RuleBaseEventSupport.fireAfterRuleRemoved(Package pkg,
Rule rule) |
void |
RuleBaseEventSupport.fireBeforeRuleAdded(Package newPkg,
Rule rule) |
void |
RuleBaseEventSupport.fireBeforeRuleRemoved(Package pkg,
Rule rule) |
Constructor and Description |
---|
AfterRuleAddedEvent(RuleBase ruleBase,
Package pkg,
Rule rule) |
AfterRuleRemovedEvent(RuleBase ruleBase,
Package pkg,
Rule rule) |
BeforeRuleAddedEvent(RuleBase ruleBase,
Package pkg,
Rule rule) |
BeforeRuleRemovedEvent(RuleBase ruleBase,
Package pkg,
Rule rule) |
RuleBaseEvent(RuleBase ruleBase,
Package pkg,
Rule rule) |
Modifier and Type | Method and Description |
---|---|
void |
StatefulKnowledgeSessionImpl.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
Modifier and Type | Method and Description |
---|---|
static int |
AddRemoveRule.getSegmentPos(LeftTupleSource lts,
Rule removingRule) |
static boolean |
SegmentUtilities.parentInSameSegment(LeftTupleSource lt,
Rule removingRule) |
Modifier and Type | Field and Description |
---|---|
protected Rule |
RuleTerminalNode.rule
The rule to invoke upon match.
|
Modifier and Type | Method and Description |
---|---|
Rule |
PathMemory.getRule() |
Rule |
RuleTerminalNode.getRule()
Retrieve the
Action associated with this node. |
abstract Rule |
AbstractTerminalNode.getRule() |
Rule |
TerminalNode.getRule() |
Rule |
QueryTerminalNode.getRule() |
Rule |
RuleTerminalNodeLeftTuple.getRule()
Retrieve the rule.
|
Modifier and Type | Method and Description |
---|---|
void |
ReteooRuleBase.addRule(Package pkg,
Rule rule) |
protected void |
ReteooRuleBase.addRule(Rule rule) |
void |
ReteooBuilder.addRule(Rule rule)
Add a
Rule to the network. |
List<TerminalNode> |
RuleBuilder.addRule(Rule rule,
InternalRuleBase ruleBase,
ReteooBuilder.IdGenerator idGenerator) |
void |
DisposedReteooWorkingMemory.delete(FactHandle handle,
Rule rule,
Activation activation) |
BaseNode[] |
ReteooBuilder.getTerminalNodes(Rule rule) |
static void |
AbstractTerminalNode.initPathMemory(PathMemory pmem,
LeftTupleSource tupleSource,
LeftTupleSource startTupleSource,
InternalWorkingMemory wm,
Rule removingRule)
Creates and return the node memory
|
void |
DisposedReteooWorkingMemory.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf) |
FactHandle |
DisposedReteooWorkingMemory.insert(Object object,
Object value,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
void |
ReteooRuleBase.removeRule(Package pkg,
Rule rule)
Notify listeners and sub-classes about imminent removal of a rule from a package.
|
protected void |
ReteooRuleBase.removeRule(Rule rule) |
void |
ReteooBuilder.removeRule(Rule rule) |
void |
QueryElementNode.UnificationNodeViewChangedEventListener.rowAdded(Rule rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
QueryElementNode.UnificationNodeViewChangedEventListener.rowRemoved(Rule rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
QueryElementNode.UnificationNodeViewChangedEventListener.rowUpdated(Rule rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
Constructor and Description |
---|
QueryTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context)
Constructor
|
RuleTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
Modifier and Type | Method and Description |
---|---|
Rule |
BuildContext.getRule() |
Modifier and Type | Method and Description |
---|---|
List<TerminalNode> |
ReteooRuleBuilder.addRule(Rule rule,
InternalRuleBase rulebase,
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,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
NodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
PhreakNodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
NodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
void |
BuildContext.setRule(Rule rule) |
Modifier and Type | Class and Description |
---|---|
class |
Query |
Modifier and Type | Method and Description |
---|---|
Rule |
DuplicateRuleNameException.getConflictingRule()
Retrieve the new conflicting
Rule . |
Rule |
DuplicateRuleNameException.getOriginalRule()
Retrieve the original
Rule in the Package . |
Rule |
Rule.getParent() |
Rule |
InvalidRuleException.getRule()
Retrieve the invalid
Rule . |
Rule |
Package.getRule(String name)
Retrieve a
Rule by name. |
Rule[] |
Package.getRules()
Retrieve all
Rules in this Package . |
Modifier and Type | Method and Description |
---|---|
List<Rule> |
Package.getRulesGeneratedFromResource(org.kie.api.io.Resource resource) |
List<Rule> |
Package.removeRulesGeneratedFromResource(org.kie.api.io.Resource resource) |
Modifier and Type | Method and Description |
---|---|
void |
Package.addRule(Rule rule)
Add a
Rule to this Package . |
boolean |
Rule.SafeEnabled.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory) |
void |
JavaDialectRuntimeData.removeRule(Package pkg,
Rule rule) |
DialectRuntimeData |
DialectRuntimeRegistry.removeRule(Package pkg,
Rule rule) |
void |
MVELDialectRuntimeData.removeRule(Package pkg,
Rule rule) |
void |
DialectRuntimeData.removeRule(Package pkg,
Rule rule) |
void |
Package.removeRule(Rule rule) |
void |
Rule.setParent(Rule parent) |
Constructor and Description |
---|
DuplicateRuleNameException(Package pkg,
Rule originalRule,
Rule conflictingRule) |
DuplicateRuleNameException(Package pkg,
Rule originalRule,
Rule conflictingRule,
Throwable cause) |
InvalidRuleException(Rule rule) |
InvalidRuleException(String message,
Rule rule) |
InvalidRuleException(String message,
Rule rule,
Throwable cause) |
NoConsequenceException(Rule rule)
Construct.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenQueryViewChangedEventListenerAdapter.rowAdded(Rule rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
OpenQueryViewChangedEventListenerAdapter.rowRemoved(Rule rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
OpenQueryViewChangedEventListenerAdapter.rowUpdated(Rule rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
Constructor and Description |
---|
RowAdapter(Rule rule,
LeftTuple leftTuple) |
Modifier and Type | Method and Description |
---|---|
Rule |
KnowledgeHelper.getRule() |
Rule |
ConsequenceException.getRule() |
Rule |
Activation.getRule() |
Rule |
PropagationContext.getRuleOrigin() |
Modifier and Type | Method and Description |
---|---|
boolean |
DeclarationScopeResolver.available(Rule rule,
String name) |
Declaration |
DeclarationScopeResolver.getDeclaration(Rule rule,
String identifier) |
Map<String,Class<?>> |
DeclarationScopeResolver.getDeclarationClasses(Rule rule) |
Map<String,Declaration> |
DeclarationScopeResolver.getDeclarations(Rule rule) |
Map<String,Declaration> |
DeclarationScopeResolver.getDeclarations(Rule rule,
String consequenceName)
Return all declarations scoped to the current
RuleConditionElement in the build stack
|
boolean |
Enabled.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory) |
boolean |
DeclarationScopeResolver.isDuplicated(Rule rule,
String name,
String type) |
Constructor and Description |
---|
ConsequenceException(Rule rule) |
ConsequenceException(String message,
Rule rule)
Construct with a message.
|
ConsequenceException(String message,
Rule rule,
String info) |
ConsequenceException(Throwable rootCause,
Rule rule)
Construct with a root cause.
|
ConsequenceException(Throwable rootCause,
Rule rule,
String info)
Construct with a root cause.
|
Modifier and Type | Method and Description |
---|---|
Set<Rule> |
DefaultNodeInfo.getRules() |
Set<Rule> |
NodeInfo.getRules()
Returns the set of rules this node belongs to
|
Modifier and Type | Method and Description |
---|---|
void |
StatefulKnowledgeSessionInfo.assign(NetworkNode snode,
Rule rule) |
void |
DefaultNodeInfo.assign(Rule rule) |
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.