Package org.drools.base.rule
Interface RuleConditionElement
- All Superinterfaces:
Cloneable,Externalizable,RuleComponent,Serializable
- All Known Subinterfaces:
PatternSource,Timer
- All Known Implementing Classes:
Accumulate,AsyncReceive,AsyncSend,Collect,ConditionalBranch,ConditionalElement,EntryPointId,EvalCondition,Forall,From,GroupElement,MultiAccumulate,NamedConsequence,Pattern,QueryElement,SingleAccumulate,WindowReference,XpathBackReference.RelativePattern
-
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a clone from itselfReturns a Map of declarations that are visible inside this conditional elementList<? extends RuleConditionElement>Returs a list of RuleConditionElement's that are nested inside the current elementReturns a Map of declarations that are visible outside this conditional element.booleanReturns true in case this RuleConditionElement delimits a pattern visibility scope.resolveDeclaration(String identifier) Resolves the given identifier in the current scope and returns the Declaration object for the declaration.Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
-
Method Details
-
getInnerDeclarations
Map<String,Declaration> getInnerDeclarations()Returns a Map of declarations that are visible inside this conditional element- Returns:
-
getOuterDeclarations
Map<String,Declaration> getOuterDeclarations()Returns a Map of declarations that are visible outside this conditional element.- Returns:
-
resolveDeclaration
Resolves the given identifier in the current scope and returns the Declaration object for the declaration. Returns null if identifier can not be resolved.- Parameters:
identifier-- Returns:
-
clone
RuleConditionElement clone()Returns a clone from itself- Returns:
-
getNestedElements
List<? extends RuleConditionElement> getNestedElements()Returs a list of RuleConditionElement's that are nested inside the current element- Returns:
-
isPatternScopeDelimiter
boolean isPatternScopeDelimiter()Returns true in case this RuleConditionElement delimits a pattern visibility scope. For instance, AND CE is not a scope delimiter, while NOT CE is a scope delimiter- Returns:
-