|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rule | |
---|---|
org.drools | This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactory |
org.drools.agent.impl | |
org.drools.base | |
org.drools.base.mvel | |
org.drools.common | |
org.drools.compiler | This is the main package to load rules. |
org.drools.core.util.debug | |
org.drools.definitions.impl | |
org.drools.definitions.rule.impl | |
org.drools.event | Events provide all sorts of call backs to monitor the engine as it is running. |
org.drools.impl | |
org.drools.reteoo | |
org.drools.reteoo.builder | |
org.drools.rule | Contains the binary representations of rule constructs, like Package (which the compiler produces), Rule, and Conditional Elements. |
org.drools.rule.builder | |
org.drools.runtime.rule.impl | |
org.drools.spi |
Uses of Rule in org.drools |
---|
Methods in org.drools that return Rule | |
---|---|
Rule |
RuleIntegrationException.getRule()
Retrieve the Rule . |
Methods in org.drools with parameters of type Rule | |
---|---|
TerminalNode |
ActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args)
|
TerminalNode |
RuleTerminalNodeActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args)
|
TerminalNode |
QueryTerminalNodeActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args)
|
Constructors in org.drools with parameters of type Rule | |
---|---|
RuleIntegrationException(Rule rule)
|
|
RuleIntegrationException(Rule rule,
Throwable cause)
|
Uses of Rule in org.drools.agent.impl |
---|
Methods in org.drools.agent.impl with parameters of type Rule | |
---|---|
void |
BinaryResourceDiffProducerImpl.visitRule(Rule oldRule)
|
Uses of Rule in org.drools.base |
---|
Methods in org.drools.base that return Rule | |
---|---|
Rule |
SequentialKnowledgeHelper.getRule()
|
Rule |
DefaultKnowledgeHelper.getRule()
|
Methods in org.drools.base with parameters of type Rule | |
---|---|
boolean |
EnabledBoolean.getValue(Tuple tuple,
Rule rule,
WorkingMemory workingMemory)
|
void |
InternalViewChangedEventListener.rowAdded(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
NonCloningQueryViewListener.rowAdded(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
StandardQueryViewChangedEventListener.rowAdded(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
InternalViewChangedEventListener.rowRemoved(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
NonCloningQueryViewListener.rowRemoved(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
StandardQueryViewChangedEventListener.rowRemoved(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
InternalViewChangedEventListener.rowUpdated(Rule rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
NonCloningQueryViewListener.rowUpdated(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
StandardQueryViewChangedEventListener.rowUpdated(Rule rule,
LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
Uses of Rule in org.drools.base.mvel |
---|
Methods in org.drools.base.mvel with parameters of type Rule | |
---|---|
boolean |
MVELEnabledExpression.getValue(Tuple tuple,
Rule rule,
WorkingMemory workingMemory)
|
Uses of Rule in org.drools.common |
---|
Methods in org.drools.common that return Rule | |
---|---|
Rule |
AgendaItem.getRule()
Retrieve the rule. |
Rule |
PropagationContextImpl.getRuleOrigin()
|
Methods in org.drools.common with parameters of type Rule | |
---|---|
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Activation activation,
PropagationContext context,
Rule rule)
Adds a justification for the FactHandle to the justifiedMap. |
void |
AbstractRuleBase.addRule(Package pkg,
Rule rule)
|
protected abstract void |
AbstractRuleBase.addRule(Rule rule)
This method is called with the rulebase lock held. |
void |
AbstractWorkingMemory.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf)
|
void |
InternalWorkingMemory.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf)
|
void |
NamedEntryPoint.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf)
|
FactHandle |
AbstractWorkingMemory.insert(Object object,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation)
|
FactHandle |
InternalWorkingMemoryActions.insert(Object object,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation)
|
protected FactHandle |
NamedEntryPoint.insert(Object object,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation)
|
void |
TruthMaintenanceSystem.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule)
An Activation is no longer true so it no longer justifies any of the logical facts it logically asserted. |
void |
AbstractRuleBase.removeRule(Package pkg,
Rule rule)
Notify listeners and sub-classes about imminent removal of a rule from a package. |
protected abstract void |
AbstractRuleBase.removeRule(Rule rule)
Handle rule removal. |
void |
AbstractWorkingMemory.retract(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
InternalWorkingMemoryActions.retract(FactHandle handle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
InternalWorkingMemory.retract(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
InternalWorkingMemoryEntryPoint.retract(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
NamedEntryPoint.retract(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
AbstractWorkingMemory.update(org.drools.runtime.rule.FactHandle factHandle,
Object object,
Rule rule,
Activation activation)
|
void |
AbstractWorkingMemory.update(FactHandle factHandle,
Object object,
Rule rule,
Activation activation)
modify is implemented as half way retract / assert due to the truth maintenance issues. |
void |
InternalWorkingMemoryActions.update(FactHandle handle,
Object object,
Rule rule,
Activation activation)
|
void |
InternalWorkingMemoryEntryPoint.update(org.drools.runtime.rule.FactHandle handle,
Object object,
Rule rule,
Activation activation)
|
void |
NamedEntryPoint.update(org.drools.runtime.rule.FactHandle factHandle,
Object object,
Rule rule,
Activation activation)
|
void |
NamedEntryPoint.update(FactHandle factHandle,
Object object,
Rule rule,
Activation activation)
|
Constructors in org.drools.common with parameters of type Rule | |
---|---|
PropagationContextImpl(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle)
|
|
PropagationContextImpl(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPoint entryPoint)
|
Uses of Rule in org.drools.compiler |
---|
Methods in org.drools.compiler that return Rule | |
---|---|
Rule |
RuleBuildError.getRule()
|
Constructors in org.drools.compiler with parameters of type Rule | |
---|---|
PackageBuilder.RuleErrorHandler(BaseDescr ruleDescr,
Rule rule,
String message)
|
|
PackageBuilder.RuleInvokerErrorHandler(BaseDescr ruleDescr,
Rule rule,
String message)
|
|
RuleBuildError(Rule rule,
BaseDescr descr,
Object object,
String message)
|
Uses of Rule in org.drools.core.util.debug |
---|
Methods in org.drools.core.util.debug that return types with arguments of type Rule | |
---|---|
Set<Rule> |
DefaultNodeInfo.getRules()
|
Set<Rule> |
NodeInfo.getRules()
Returns the set of rules this node belongs to |
Methods in org.drools.core.util.debug with parameters of type Rule | |
---|---|
void |
StatefulKnowledgeSessionInfo.assign(NetworkNode snode,
Rule rule)
|
void |
DefaultNodeInfo.assign(Rule rule)
|
Uses of Rule in org.drools.definitions.impl |
---|
Methods in org.drools.definitions.impl with parameters of type Rule | |
---|---|
void |
KnowledgePackageImp.removeRule(Rule rule)
Delegate method to remove a Rule by its name. |
Uses of Rule in org.drools.definitions.rule.impl |
---|
Methods in org.drools.definitions.rule.impl that return Rule | |
---|---|
Rule |
RuleImpl.getRule()
|
Constructors in org.drools.definitions.rule.impl with parameters of type Rule | |
---|---|
RuleImpl(Rule rule)
|
Uses of Rule in org.drools.event |
---|
Methods in org.drools.event that return Rule | |
---|---|
Rule |
RuleBaseEvent.getRule()
|
Methods in org.drools.event with parameters of type Rule | |
---|---|
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)
|
Constructors in org.drools.event with parameters of type Rule | |
---|---|
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)
|
Uses of Rule in org.drools.impl |
---|
Methods in org.drools.impl with parameters of type Rule | |
---|---|
void |
StatefulKnowledgeSessionImpl.retract(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
StatefulKnowledgeSessionImpl.update(org.drools.runtime.rule.FactHandle factHandle,
Object object,
Rule rule,
Activation activation)
|
Uses of Rule in org.drools.reteoo |
---|
Methods in org.drools.reteoo that return Rule | |
---|---|
Rule |
RuleTerminalNode.getRule()
Retrieve the Action associated with this node. |
Rule |
QueryTerminalNode.getRule()
|
Methods in org.drools.reteoo with parameters of type Rule | |
---|---|
protected void |
ReteooRuleBase.addRule(Rule rule)
|
BaseNode[] |
ReteooBuilder.getTerminalNodes(Rule rule)
|
void |
ReteooBuilder.removeRule(Rule rule)
|
protected void |
ReteooRuleBase.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)
|
Constructors in org.drools.reteoo with parameters of type Rule | |
---|---|
QueryTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context)
Constructor |
|
ReteooWorkingMemory.WorkingMemoryReteAssertAction(InternalFactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule ruleOrigin,
LeftTuple leftTuple)
|
|
RuleTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context)
Construct. |
Uses of Rule in org.drools.reteoo.builder |
---|
Methods in org.drools.reteoo.builder that return Rule | |
---|---|
Rule |
BuildContext.getRule()
|
Methods in org.drools.reteoo.builder with parameters of type Rule | |
---|---|
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. |
void |
BuildContext.setRule(Rule rule)
|
Uses of Rule in org.drools.rule |
---|
Subclasses of Rule in org.drools.rule | |
---|---|
class |
Query
|
Methods in org.drools.rule that return Rule | |
---|---|
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 . |
Methods in org.drools.rule with parameters of type Rule | |
---|---|
void |
Package.addRule(Rule rule)
Add a Rule to this Package . |
DialectRuntimeData |
DialectRuntimeRegistry.removeRule(Package pkg,
Rule rule)
|
void |
DialectRuntimeData.removeRule(Package pkg,
Rule rule)
|
void |
MVELDialectRuntimeData.removeRule(Package pkg,
Rule rule)
|
void |
JavaDialectRuntimeData.removeRule(Package pkg,
Rule rule)
|
void |
Package.removeRule(Rule rule)
|
void |
Rule.setParent(Rule parent)
|
Constructors in org.drools.rule with parameters of type Rule | |
---|---|
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. |
Uses of Rule in org.drools.rule.builder |
---|
Methods in org.drools.rule.builder that return Rule | |
---|---|
Rule |
RuleBuildContext.getRule()
Returns the current Rule being built |
Uses of Rule in org.drools.runtime.rule.impl |
---|
Methods in org.drools.runtime.rule.impl with parameters of type Rule | |
---|---|
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)
|
Constructors in org.drools.runtime.rule.impl with parameters of type Rule | |
---|---|
RowAdapter(Rule rule,
LeftTuple leftTuple)
|
Uses of Rule in org.drools.spi |
---|
Methods in org.drools.spi that return Rule | |
---|---|
Rule |
Activation.getRule()
|
Rule |
ConsequenceException.getRule()
|
Rule |
KnowledgeHelper.getRule()
|
Rule |
PropagationContext.getRuleOrigin()
|
Methods in org.drools.spi with parameters of type Rule | |
---|---|
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)
Return all declarations scoped to the current RuleConditionElement in the build stack |
boolean |
Enabled.getValue(Tuple tuple,
Rule rule,
WorkingMemory workingMemory)
|
boolean |
DeclarationScopeResolver.isDuplicated(Rule rule,
String name)
|
Constructors in org.drools.spi with parameters of type Rule | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |