|
||||||||||
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.base | |
org.drools.common | |
org.drools.compiler | This is the main package to load rules. |
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.spi |
Uses of Rule in org.drools |
---|
Methods in org.drools that return Rule | |
---|---|
Rule |
RuleIntegrationException.getRule()
Retrieve the Rule . |
Constructors in org.drools with parameters of type Rule | |
---|---|
RuleIntegrationException(Rule rule)
|
|
RuleIntegrationException(Rule rule,
Throwable cause)
|
Uses of Rule in org.drools.base |
---|
Methods in org.drools.base that return Rule | |
---|---|
Rule |
DefaultKnowledgeHelper.getRule()
|
Rule |
BaseDuration.getRule()
|
Constructors in org.drools.base with parameters of type Rule | |
---|---|
BaseDuration(Rule rule,
long seconds)
Constructor. |
Uses of Rule in org.drools.common |
---|
Methods in org.drools.common that return Rule | |
---|---|
Rule |
ScheduledAgendaItem.getRule()
Retrieve the 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 |
PropagationContextImpl.addRetractedTuple(Rule rule,
Activation activation)
|
protected void |
AbstractRuleBase.addRule(Rule rule)
|
FactHandle |
InternalWorkingMemoryActions.assertObject(Object object,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation)
|
FactHandle |
AbstractWorkingMemory.assertObject(Object object,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation)
|
void |
InternalWorkingMemoryActions.modifyObject(FactHandle handle,
Object object,
Rule rule,
Activation activation)
|
void |
AbstractWorkingMemory.modifyObject(FactHandle factHandle,
Object object,
Rule rule,
Activation activation)
modify is implemented as half way retract / assert due to the truth maintenance issues. |
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 |
InternalWorkingMemory.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule)
|
void |
AbstractWorkingMemory.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule)
|
Activation |
PropagationContextImpl.removeRetractedTuple(Rule rule,
ReteTuple tuple)
|
protected abstract void |
AbstractRuleBase.removeRule(Rule rule)
|
void |
InternalWorkingMemoryActions.retractObject(FactHandle handle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
InternalWorkingMemory.retractObject(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
AbstractWorkingMemory.retractObject(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
Constructors in org.drools.common with parameters of type Rule | |
---|---|
AgendaItem(long activationNumber,
Tuple tuple,
PropagationContext context,
Rule rule,
GroupElement subrule)
Construct. |
|
PropagationContextImpl(long number,
int type,
Rule rule,
Activation activation)
|
|
PropagationContextImpl(long number,
int type,
Rule rule,
Activation activation,
int activeActivations,
int dormantActivations)
|
|
ScheduledAgendaItem(long activationNumber,
Tuple tuple,
InternalAgenda agenda,
PropagationContext context,
Rule rule,
GroupElement subrule)
Construct. |
Uses of Rule in org.drools.compiler |
---|
Methods in org.drools.compiler that return Rule | |
---|---|
Rule |
RuleError.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)
|
|
RuleError(Rule rule,
BaseDescr descr,
Object object,
String message)
|
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()
Retrieve the Action associated with this node. |
Methods in org.drools.reteoo with parameters of type Rule | |
---|---|
protected void |
ReteooRuleBase.addRule(Rule rule)
|
BaseNode[] |
ReteooBuilder.getTerminalNodes(Rule rule)
|
protected void |
ReteooRuleBase.removeRule(Rule rule)
|
void |
ReteooBuilder.removeRule(Rule rule)
|
Constructors in org.drools.reteoo with parameters of type Rule | |
---|---|
QueryTerminalNode(int id,
TupleSource source,
Rule rule,
GroupElement subrule)
Construct. |
|
ReteooWorkingMemory.WorkingMemoryReteAssertAction(InternalFactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule ruleOrigin,
Activation activationOrigin)
|
|
RuleTerminalNode(int id,
TupleSource source,
Rule rule,
GroupElement subrule)
Construct. |
Uses of Rule in org.drools.reteoo.builder |
---|
Methods in org.drools.reteoo.builder with parameters of type Rule | |
---|---|
List |
ReteooRuleBuilder.addRule(Rule rule,
ReteooRuleBase rulebase,
ReteooBuilder.IdGenerator idGenerator)
Creates the corresponting Rete network for the given Rule and adds it to
the given rule base. |
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 |
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 . |
void |
Package.removeRule(Rule rule)
|
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 |
Methods in org.drools.rule.builder with parameters of type Rule | |
---|---|
static void |
RuleBuildContext.setAttributes(Rule rule,
List attributes)
Sets rule Attributes |
Uses of Rule in org.drools.spi |
---|
Methods in org.drools.spi that return Rule | |
---|---|
Rule |
KnowledgeHelper.getRule()
|
Rule |
ConsequenceException.getRule()
|
Rule |
Activation.getRule()
Retrieve the Rule that was activated. |
Rule |
PropagationContext.getRuleOrigin()
|
Methods in org.drools.spi with parameters of type Rule | |
---|---|
void |
PropagationContext.addRetractedTuple(Rule rule,
Activation activation)
|
Activation |
PropagationContext.removeRetractedTuple(Rule rule,
ReteTuple tuple)
|
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 |