Uses of Class
org.drools.rule.Declaration

Packages that use Declaration
org.drools This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactory 
org.drools.base   
org.drools.base.accumulators   
org.drools.base.dataproviders   
org.drools.base.mvel   
org.drools.common   
org.drools.core.util   
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.runtime.rule.impl   
org.drools.spi   
 

Uses of Declaration in org.drools
 

Fields in org.drools declared as Declaration
protected  Declaration[] QueryResults.parameters
           
 

Methods in org.drools that return Declaration
 Declaration[] QueryResults.getParameters()
           
 

Methods in org.drools that return types with arguments of type Declaration
 Map<String,Declaration> QueryResult.getDeclarations()
          Return a map of Declarations where the key is the identifier and the value is the Declaration.
 Map<String,Declaration> QueryResults.getDeclarations(int subruleIndex)
           
 

Methods in org.drools with parameters of type Declaration
 Object QueryResult.get(Declaration declaration)
          Return the Object for the given Declaration.
 FactHandle QueryResult.getFactHandle(Declaration declr)
           
 

Constructors in org.drools with parameters of type Declaration
QueryResults(List<QueryRowWithSubruleIndex> results, Map<String,Declaration>[] declarations, WorkingMemory workingMemory, Declaration[] parameters)
           
 

Uses of Declaration in org.drools.base
 

Methods in org.drools.base that return Declaration
 Declaration SequentialKnowledgeHelper.getDeclaration(String identifier)
           
 Declaration DefaultKnowledgeHelper.getDeclaration(String identifier)
           
 Declaration EvaluatorWrapper.getLeftBinding()
           
 Declaration EvaluatorWrapper.getRightBinding()
           
 

Methods in org.drools.base with parameters of type Declaration
 Object SequentialKnowledgeHelper.get(Declaration declaration)
           
 Object DefaultKnowledgeHelper.get(Declaration declaration)
           
 boolean EnabledBoolean.getValue(Tuple tuple, Declaration[] declrs, Rule rule, WorkingMemory workingMemory)
           
 void EvaluatorWrapper.setLeftBinding(Declaration leftBinding)
           
 void EvaluatorWrapper.setRightBinding(Declaration rightBinding)
           
 

Constructors in org.drools.base with parameters of type Declaration
EvaluatorWrapper(Evaluator evaluator, Declaration leftBinding, Declaration rightBinding)
           
 

Uses of Declaration in org.drools.base.accumulators
 

Methods in org.drools.base.accumulators with parameters of type Declaration
 void MVELAccumulatorFunctionExecutor.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void MVELAccumulatorFunctionExecutor.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void JavaAccumulatorFunctionExecutor.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void JavaAccumulatorFunctionExecutor.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void CollectAccumulator.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void CollectAccumulator.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 Object MVELAccumulatorFunctionExecutor.getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
           
 Object JavaAccumulatorFunctionExecutor.getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
           
 Object CollectAccumulator.getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
           
 void MVELAccumulatorFunctionExecutor.init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
           
 void JavaAccumulatorFunctionExecutor.init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
           
 void CollectAccumulator.init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
           
 void MVELAccumulatorFunctionExecutor.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void MVELAccumulatorFunctionExecutor.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void JavaAccumulatorFunctionExecutor.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void JavaAccumulatorFunctionExecutor.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void CollectAccumulator.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void CollectAccumulator.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 

Uses of Declaration in org.drools.base.dataproviders
 

Methods in org.drools.base.dataproviders that return Declaration
 Declaration[] MVELDataProvider.getRequiredDeclarations()
           
 

Methods in org.drools.base.dataproviders with parameters of type Declaration
 void MVELDataProvider.replaceDeclaration(Declaration declaration, Declaration resolved)
           
 

Uses of Declaration in org.drools.base.mvel
 

Methods in org.drools.base.mvel that return Declaration
 Declaration[] MVELCompilationUnit.getLocalDeclarations()
           
 Declaration[] MVELCompilationUnit.getPreviousDeclarations()
           
 

Methods in org.drools.base.mvel with parameters of type Declaration
 void MVELAccumulator.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void MVELAccumulator.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 boolean MVELPredicateExpression.evaluate(Object object, Tuple tuple, Declaration[] previousDeclarations, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context)
           
 boolean MVELPredicateExpression.evaluate(Object object, Tuple tuple, Declaration[] previousDeclarations, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context)
           
 FieldValue MVELReturnValueExpression.evaluate(Object object, Tuple tuple, Declaration[] previousDeclarations, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object ctx)
           
 FieldValue MVELReturnValueExpression.evaluate(Object object, Tuple tuple, Declaration[] previousDeclarations, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object ctx)
           
 boolean MVELEvalExpression.evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context)
           
 org.mvel2.integration.VariableResolverFactory MVELCompilationUnit.getFactory(Object knowledgeHelper, Declaration[] prevDecl, org.drools.definition.rule.Rule rule, Object rightObject, LeftTuple tuples, Object[] otherVars, InternalWorkingMemory workingMemory, GlobalResolver globals)
           
 Object MVELAccumulator.getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
           
 boolean MVELEnabledExpression.getValue(Tuple tuple, Declaration[] declrs, Rule rule, WorkingMemory workingMemory)
           
 void MVELAccumulator.init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
           
 void MVELEvalExpression.replaceDeclaration(Declaration declaration, Declaration resolved)
           
 void MVELReturnValueExpression.replaceDeclaration(Declaration declaration, Declaration resolved)
           
 void MVELCompilationUnit.replaceDeclaration(Declaration declaration, Declaration resolved)
           
 void MVELAccumulator.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void MVELAccumulator.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
           
 void MVELCompilationUnit.setPreviousDeclarations(Declaration[] previousDeclarations)
           
 void MVELCompilationUnit.updateFactory(Object knowledgeHelper, Declaration[] prevDecl, org.drools.definition.rule.Rule rule, Object rightObject, LeftTuple tuples, Object[] otherVars, InternalWorkingMemory workingMemory, GlobalResolver globals, org.mvel2.integration.VariableResolverFactory factory)
           
 

Constructors in org.drools.base.mvel with parameters of type Declaration
MVELCompilationUnit(String name, String expression, String[] globalIdentifiers, EvaluatorWrapper[] operators, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] otherIdentifiers, String[] inputIdentifiers, String[] inputTypes, int languageLevel, boolean strictMode)
           
MVELCompilationUnit(String name, String expression, String[] globalIdentifiers, EvaluatorWrapper[] operators, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] otherIdentifiers, String[] inputIdentifiers, String[] inputTypes, int languageLevel, boolean strictMode)
           
 

Uses of Declaration in org.drools.common
 

Methods in org.drools.common that return Declaration
 Declaration[] TupleStartEqualsConstraint.getRequiredDeclarations()
           
 Declaration[] InstanceEqualsConstraint.getRequiredDeclarations()
           
 Declaration[] InstanceNotEqualsConstraint.getRequiredDeclarations()
           
 

Methods in org.drools.common with parameters of type Declaration
 void TupleStartEqualsConstraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void InstanceEqualsConstraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void InstanceNotEqualsConstraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 

Uses of Declaration in org.drools.core.util
 

Methods in org.drools.core.util that return Declaration
 Declaration AbstractHashTable.FieldIndex.getDeclaration()
           
 

Constructors in org.drools.core.util with parameters of type Declaration
AbstractHashTable.FieldIndex(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
           
 

Uses of Declaration in org.drools.reteoo
 

Methods in org.drools.reteoo that return Declaration
 Declaration[] RuleTerminalNode.getDeclarations()
           
 Declaration[] QueryTerminalNode.getDeclarations()
           
 Declaration[] RuleTerminalNode.getEnabledDeclarations()
           
 Declaration[] RuleTerminalNode.getSalienceDeclarations()
           
 

Methods in org.drools.reteoo with parameters of type Declaration
 int RuleTerminalNode.SortDeclarations.compare(Declaration d1, Declaration d2)
           
 InternalFactHandle RuleTerminalNodeLeftTuple.get(Declaration declaration)
           
 InternalFactHandle FromNodeLeftTuple.get(Declaration declaration)
           
 InternalFactHandle LeftTupleImpl.get(Declaration declaration)
           
 InternalFactHandle EvalNodeLeftTuple.get(Declaration declaration)
           
 InternalFactHandle JoinNodeLeftTuple.get(Declaration declaration)
           
 InternalFactHandle NotNodeLeftTuple.get(Declaration declaration)
           
 InternalFactHandle QueryElementNodeLeftTuple.get(Declaration declaration)
           
 InternalFactHandle QueryRiaFixerNodeLeftTuple.get(Declaration declaration)
           
 void RuleTerminalNode.setEnabledDeclarations(Declaration[] enabledDeclarations)
           
 void RuleTerminalNode.setSalienceDeclarations(Declaration[] salienceDeclarations)
           
 

Method parameters in org.drools.reteoo with type arguments of type Declaration
 void RuleTerminalNode.setDeclarations(Map<String,Declaration> decls)
           
 

Uses of Declaration in org.drools.reteoo.builder
 

Methods in org.drools.reteoo.builder with parameters of type Declaration
 void BuildUtils.checkUnboundDeclarations(BuildContext context, Declaration[] declarations)
          Make sure the required declarations are previously bound
 

Uses of Declaration in org.drools.rule
 

Fields in org.drools.rule declared as Declaration
 Declaration VariableRestriction.VariableContextEntry.declaration
           
 Declaration[] ReturnValueRestriction.ReturnValueContextEntry.localDeclarations
           
 Declaration[] ReturnValueRestriction.ReturnValueContextEntry.previousDeclarations
           
protected  Declaration[] AbstractCompositeConstraint.requiredDeclarations
           
 

Methods in org.drools.rule that return Declaration
 Declaration Pattern.addDeclaration(String identifier)
           
 Declaration Pattern.getDeclaration()
           
 Declaration Rule.getDeclaration(String identifier)
          Retrieve a parameter Declaration by identifier.
 Declaration[] ReturnValueRestriction.getLocalDeclarations()
           
 Declaration[] ReturnValueRestriction.ReturnValueContextEntry.getLocalDeclarations()
           
 Declaration[] PredicateConstraint.getLocalDeclarations()
           
 Declaration[] Query.getParameters()
           
 Declaration[] ReturnValueRestriction.getPreviousDeclarations()
           
 Declaration[] ReturnValueRestriction.ReturnValueContextEntry.getPreviousDeclarations()
           
 Declaration[] PredicateConstraint.getPreviousDeclarations()
           
 Declaration[] ReturnValueRestriction.getRequiredDeclarations()
           
 Declaration[] LiteralConstraint.getRequiredDeclarations()
          Literal constraints cannot have required declarations, so always return an empty array.
 Declaration[] AbstractCompositeRestriction.getRequiredDeclarations()
           
 Declaration[] VariableRestriction.getRequiredDeclarations()
           
 Declaration[] QueryElement.getRequiredDeclarations()
           
 Declaration[] Pattern.getRequiredDeclarations()
           
 Declaration[] ReturnValueConstraint.getRequiredDeclarations()
           
 Declaration[] UnificationRestriction.getRequiredDeclarations()
           
 Declaration[] PredicateConstraint.getRequiredDeclarations()
           
 Declaration[] EvalCondition.getRequiredDeclarations()
           
 Declaration[] LiteralRestriction.getRequiredDeclarations()
          Literal constraints cannot have required declarations, so always return an empty array.
 Declaration[] AbstractCompositeConstraint.getRequiredDeclarations()
          Returns all the declarations required by the given constraint implementation.
 Declaration[] VariableConstraint.getRequiredDeclarations()
           
 Declaration VariableRestriction.VariableContextEntry.getVariableDeclaration()
           
 Declaration Forall.resolveDeclaration(String identifier)
          Forall can only resolve declarations from its base pattern
 Declaration QueryElement.resolveDeclaration(String identifier)
           
 Declaration Pattern.resolveDeclaration(String identifier)
           
 Declaration RuleConditionElement.resolveDeclaration(String identifier)
          Resolves the given identifier in the current scope and returns the Declaration object for the declaration.
 Declaration EntryPoint.resolveDeclaration(String identifier)
          Not possible to resolve any declaration, so always return null.
 Declaration Collect.resolveDeclaration(String identifier)
           
 Declaration EvalCondition.resolveDeclaration(String identifier)
           
 Declaration GroupElement.resolveDeclaration(String identifier)
           
 Declaration From.resolveDeclaration(String identifier)
           
 Declaration Accumulate.resolveDeclaration(String identifier)
           
 

Methods in org.drools.rule that return types with arguments of type Declaration
 Map<String,Declaration> Rule.getDeclarations()
          Retrieve the set of all root fact object parameter Declarations.
 Map<String,Declaration> Pattern.getInnerDeclarations()
           
 Map<String,Declaration> RuleConditionElement.getInnerDeclarations()
          Returns a Map of declarations that are visible inside this conditional element
 Map<String,Declaration> Accumulate.getInnerDeclarations()
           
 Map<String,Declaration> GroupElement.Type.getInnerDeclarations(List<RuleConditionElement> children)
          Returns a map of declarations that are visible inside of an element of this type
 Map<String,Declaration> Pattern.getOuterDeclarations()
           
 Map<String,Declaration> RuleConditionElement.getOuterDeclarations()
          Returns a Map of declarations that are visible outside this conditional element.
 Map<String,Declaration> GroupElement.getOuterDeclarations()
           
 Map<String,Declaration> Accumulate.getOuterDeclarations()
           
 Map<String,Declaration> GroupElement.Type.getOuterDeclarations(List<RuleConditionElement> children)
          Returns a map of declarations that are visible outside of an element of this type
 

Methods in org.drools.rule with parameters of type Declaration
 void Pattern.addDeclaration(Declaration decl)
           
 void ReturnValueRestriction.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void LiteralConstraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void AbstractCompositeRestriction.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void VariableRestriction.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void ReturnValueConstraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void UnificationRestriction.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void PredicateConstraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void EvalCondition.replaceDeclaration(Declaration declaration, Declaration resolved)
           
 void LiteralRestriction.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void AbstractCompositeConstraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
          When a rule contains multiple logical branches, i.e., makes use of 'OR' CE, it is required to clone patterns and declarations for each logical branch.
 void VariableConstraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
           
 void Query.setParameters(Declaration[] parameters)
           
 

Constructors in org.drools.rule with parameters of type Declaration
Accumulate(RuleConditionElement source, Declaration[] requiredDeclarations, Declaration[] innerDeclarations)
           
Accumulate(RuleConditionElement source, Declaration[] requiredDeclarations, Declaration[] innerDeclarations)
           
Accumulate(RuleConditionElement source, Declaration[] requiredDeclarations, Declaration[] innerDeclarations, Accumulator[] accumulators, boolean multiFunction)
           
Accumulate(RuleConditionElement source, Declaration[] requiredDeclarations, Declaration[] innerDeclarations, Accumulator[] accumulators, boolean multiFunction)
           
EvalCondition(Declaration[] requiredDeclarations)
           
EvalCondition(EvalExpression eval, Declaration[] requiredDeclarations)
           
PredicateConstraint(Declaration[] previousDeclarations, Declaration[] localDeclarations)
           
PredicateConstraint(Declaration[] previousDeclarations, Declaration[] localDeclarations)
           
PredicateConstraint(PredicateExpression expression, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] requiredGlobals, String[] requiredOperators)
           
PredicateConstraint(PredicateExpression expression, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] requiredGlobals, String[] requiredOperators)
           
QueryElement(Pattern resultPattern, String queryName, Object[] argTemplate, Declaration[] requiredDeclarations, int[] declIndexes, int[] variableIndexes, boolean openQuery)
           
ReturnValueRestriction.ReturnValueContextEntry(ReadAccessor fieldExtractor, Declaration[] previousDeclarations, Declaration[] localDeclarations)
           
ReturnValueRestriction.ReturnValueContextEntry(ReadAccessor fieldExtractor, Declaration[] previousDeclarations, Declaration[] localDeclarations)
           
ReturnValueRestriction(InternalReadAccessor fieldExtractor, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] requiredGlobals, Evaluator evaluator)
           
ReturnValueRestriction(InternalReadAccessor fieldExtractor, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] requiredGlobals, Evaluator evaluator)
           
ReturnValueRestriction(InternalReadAccessor fieldExtractor, ReturnValueExpression returnValueExpression, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] requiredGlobals, Evaluator evaluator)
           
ReturnValueRestriction(InternalReadAccessor fieldExtractor, ReturnValueExpression returnValueExpression, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] requiredGlobals, Evaluator evaluator)
           
UnificationRestriction.UnificationContextEntry(ContextEntry contextEntry, Declaration declaration)
           
VariableConstraint(InternalReadAccessor fieldExtractor, Declaration declaration, Evaluator evaluator)
           
VariableRestriction.BooleanVariableContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
           
VariableRestriction.CharVariableContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
           
VariableRestriction.DoubleVariableContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
           
VariableRestriction.LongVariableContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
           
VariableRestriction.ObjectVariableContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
           
VariableRestriction.PrimitiveArrayVariableContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
           
VariableRestriction.VariableContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
           
VariableRestriction(InternalReadAccessor fieldExtractor, Declaration declaration, Evaluator evaluator)
           
 

Uses of Declaration in org.drools.runtime.rule.impl
 

Methods in org.drools.runtime.rule.impl that return types with arguments of type Declaration
 Map<String,Declaration> NativeQueryResults.getDeclarations()
           
 

Uses of Declaration in org.drools.spi
 

Methods in org.drools.spi that return Declaration
 Declaration DeclarationScopeResolver.getDeclaration(Rule rule, String identifier)
           
 Declaration KnowledgeHelper.getDeclaration(String identifier)
           
 Declaration[] Constraint.getRequiredDeclarations()
          Returns all the declarations required by the given constraint implementation.
 Declaration[] DataProvider.getRequiredDeclarations()
           
 Declaration[] Restriction.getRequiredDeclarations()
           
 

Methods in org.drools.spi that return types with arguments of type Declaration
 Map<String,Declaration> DeclarationScopeResolver.getDeclarations(Rule rule)
          Return all declarations scoped to the current RuleConditionElement in the build stack
 

Methods in org.drools.spi with parameters of type Declaration
 void Accumulator.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
          Executes the accumulate (action) code for the given fact handle
 void Accumulator.accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
          Executes the accumulate (action) code for the given fact handle
 boolean PredicateExpression.evaluate(Object object, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)
           
 boolean PredicateExpression.evaluate(Object object, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)
           
 FieldValue ReturnValueExpression.evaluate(Object object, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)
           
 FieldValue ReturnValueExpression.evaluate(Object object, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)
           
 boolean EvalExpression.evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context)
           
 Object KnowledgeHelper.get(Declaration declaration)
           
 InternalFactHandle Tuple.get(Declaration declaration)
          Returns the FactHandle for the given Declaration, which in turn specifcy the Pattern that they depend on.
 Object Accumulator.getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
          Gets the result of the accummulation
 boolean Enabled.getValue(Tuple tuple, Declaration[] declrs, Rule rule, WorkingMemory workingMemory)
           
 void Accumulator.init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)
          Executes the initialization block of code
 void EvalExpression.replaceDeclaration(Declaration declaration, Declaration resolved)
           
 void Constraint.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
          When a rule contains multiple logical branches, i.e., makes use of 'OR' CE, it is required to clone patterns and declarations for each logical branch.
 void DataProvider.replaceDeclaration(Declaration declaration, Declaration resolved)
           
 void Restriction.replaceDeclaration(Declaration oldDecl, Declaration newDecl)
          A restriction may be required to replace an old declaration object by a new updated one
 void ReturnValueExpression.replaceDeclaration(Declaration declaration, Declaration resolved)
           
 void Accumulator.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
          Reverses the accumulate action for the given fact handle
 void Accumulator.reverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)
          Reverses the accumulate action for the given fact handle
 

Method parameters in org.drools.spi with type arguments of type Declaration
static Map<String,Class<?>> DeclarationScopeResolver.getDeclarationClasses(Map<String,Declaration> declarations)
           
 



Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.