|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Rule | |
|---|---|
| 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 | |
| Uses of Rule in org.drools.core |
|---|
| Methods in org.drools.core that return Rule | |
|---|---|
Rule |
RuleIntegrationException.getRule()
Retrieve the Rule. |
| Methods in org.drools.core with parameters of type Rule | |
|---|---|
TerminalNode |
RuleActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args)
|
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)
|
| Constructors in org.drools.core with parameters of type Rule | |
|---|---|
RuleIntegrationException(Rule rule)
|
|
RuleIntegrationException(Rule rule,
Throwable cause)
|
|
| Uses of Rule in org.drools.core.base |
|---|
| Methods in org.drools.core.base that return Rule | |
|---|---|
Rule |
DefaultKnowledgeHelper.getRule()
|
Rule |
SequentialKnowledgeHelper.getRule()
|
| Methods in org.drools.core.base with parameters of type Rule | |
|---|---|
boolean |
EnabledBoolean.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory 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.rowAdded(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.rowRemoved(Rule rule,
LeftTuple tuple,
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)
|
void |
InternalViewChangedEventListener.rowUpdated(Rule rule,
LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
| Uses of Rule in org.drools.core.base.mvel |
|---|
| Methods in org.drools.core.base.mvel with parameters of type Rule | |
|---|---|
boolean |
MVELEnabledExpression.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory)
|
| Uses of Rule in org.drools.core.common |
|---|
| Methods in org.drools.core.common that return Rule | |
|---|---|
Rule |
ScheduledAgendaItem.getRule()
|
Rule |
AgendaItemImpl.getRule()
Retrieve the rule. |
Rule |
AgendaItem.getRule()
|
Rule |
PhreakPropagationContext.getRuleOrigin()
|
| Methods in org.drools.core.common with parameters of type Rule | |
|---|---|
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 |
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)
|
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)
|
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,
long modificationMask,
Class<?> modifiedClass,
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,
EntryPointId entryPoint,
MarshallerReaderContext readerContext)
|
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
long modificationMask)
|
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
long modificationMask)
|
void |
InternalWorkingMemoryActions.delete(FactHandle handle,
Rule rule,
Activation activation)
|
void |
InternalWorkingMemory.delete(FactHandle factHandle,
Rule rule,
Activation activation)
|
void |
AbstractWorkingMemory.delete(FactHandle factHandle,
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 |
InternalWorkingMemoryActions.insert(Object object,
Object value,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation)
|
FactHandle |
AbstractWorkingMemory.insert(Object object,
Object tmsValue,
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)
|
| Constructors in org.drools.core.common with parameters of type Rule | |
|---|---|
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)
|
|
| Uses of Rule in org.drools.core.definitions.impl |
|---|
| Methods in org.drools.core.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.core.definitions.rule.impl |
|---|
| Methods in org.drools.core.definitions.rule.impl that return Rule | |
|---|---|
Rule |
RuleImpl.getRule()
|
| Constructors in org.drools.core.definitions.rule.impl with parameters of type Rule | |
|---|---|
RuleImpl(Rule rule)
|
|
| Uses of Rule in org.drools.core.event |
|---|
| Methods in org.drools.core.event that return Rule | |
|---|---|
Rule |
RuleBaseEvent.getRule()
|
| Methods in org.drools.core.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.core.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.core.impl |
|---|
| Methods in org.drools.core.impl with parameters of type Rule | |
|---|---|
void |
StatefulKnowledgeSessionImpl.delete(FactHandle factHandle,
Rule rule,
Activation activation)
|
| Uses of Rule in org.drools.core.phreak |
|---|
| Methods in org.drools.core.phreak with parameters of type Rule | |
|---|---|
static int |
AddRemoveRule.getSegmentPos(LeftTupleSource lts,
Rule removingRule)
|
static boolean |
SegmentUtilities.parentInSameSegment(LeftTupleSource lt,
Rule removingRule)
|
| Uses of Rule in org.drools.core.reteoo |
|---|
| Fields in org.drools.core.reteoo declared as Rule | |
|---|---|
protected Rule |
RuleTerminalNode.rule
The rule to invoke upon match. |
| Methods in org.drools.core.reteoo that return Rule | |
|---|---|
Rule |
PathMemory.getRule()
|
Rule |
QueryTerminalNode.getRule()
|
Rule |
RuleTerminalNode.getRule()
Retrieve the Action associated with this node. |
Rule |
RuleTerminalNodeLeftTuple.getRule()
Retrieve the rule. |
abstract Rule |
AbstractTerminalNode.getRule()
|
Rule |
TerminalNode.getRule()
|
| Methods in org.drools.core.reteoo with parameters of type Rule | |
|---|---|
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)
|
| Constructors in org.drools.core.reteoo with parameters of type Rule | |
|---|---|
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)
|
|
| Uses of Rule in org.drools.core.reteoo.builder |
|---|
| Methods in org.drools.core.reteoo.builder that return Rule | |
|---|---|
Rule |
BuildContext.getRule()
|
| Methods in org.drools.core.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. |
TerminalNode |
NodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context)
|
TerminalNode |
PhreakNodeFactory.buildQueryTerminalNode(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)
|
TerminalNode |
PhreakNodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context)
|
void |
BuildContext.setRule(Rule rule)
|
| Uses of Rule in org.drools.core.rule |
|---|
| Subclasses of Rule in org.drools.core.rule | |
|---|---|
class |
AbductiveQuery
|
class |
Query
|
| Methods in org.drools.core.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.core.rule that return types with arguments of type Rule | |
|---|---|
List<Rule> |
Package.getRulesGeneratedFromResource(org.kie.api.io.Resource resource)
|
List<Rule> |
Package.removeRulesGeneratedFromResource(org.kie.api.io.Resource resource)
|
| Methods in org.drools.core.rule with parameters of type Rule | |
|---|---|
void |
Package.addRule(Rule rule)
Add a Rule to this Package. |
boolean |
Rule.SafeEnabled.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory)
|
void |
MVELDialectRuntimeData.removeRule(Package pkg,
Rule rule)
|
void |
JavaDialectRuntimeData.removeRule(Package pkg,
Rule rule)
|
void |
DialectRuntimeData.removeRule(Package pkg,
Rule rule)
|
DialectRuntimeData |
DialectRuntimeRegistry.removeRule(Package pkg,
Rule rule)
|
void |
Package.removeRule(Rule rule)
|
void |
Rule.setParent(Rule parent)
|
| Constructors in org.drools.core.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.core.runtime.rule.impl |
|---|
| Methods in org.drools.core.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.core.runtime.rule.impl with parameters of type Rule | |
|---|---|
RowAdapter(Rule rule,
LeftTuple leftTuple)
|
|
| Uses of Rule in org.drools.core.spi |
|---|
| Methods in org.drools.core.spi that return Rule | |
|---|---|
Rule |
ConsequenceException.getRule()
|
Rule |
KnowledgeHelper.getRule()
|
Rule |
Activation.getRule()
|
Rule |
PropagationContext.getRuleOrigin()
|
| Methods in org.drools.core.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)
|
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)
|
| Constructors in org.drools.core.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. |
|
| 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)
|
|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||