Package org.drools.base.rule
Class From
java.lang.Object
org.drools.base.rule.ConditionalElement
org.drools.base.rule.From
- All Implemented Interfaces:
Externalizable,Serializable,Cloneable,Wireable,PatternSource,RuleComponent,RuleConditionElement
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.drools.base.rule.accessor.Wireable
Wireable.Immutable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a clone from itselfbooleanReturns a Map of declarations that are visible inside this conditional elementReturs a list of RuleConditionElement's that are nested inside the current elementReturns a Map of declarations that are visible outside this conditional element.Class<?>inthashCode()booleanReturns true in case this RuleConditionElement delimits a pattern visibility scope.booleanvoidbooleanresolveDeclaration(String identifier) Resolves the given identifier in the current scope and returns the Declaration object for the declaration.voidsetResultClass(Class<?> resultClass) voidsetResultPattern(Pattern pattern) voidvoid
-
Constructor Details
-
From
public From() -
From
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
isReactive
public boolean isReactive() -
equals
-
hashCode
public int hashCode() -
wire
-
getDataProvider
-
clone
Description copied from interface:RuleConditionElementReturns a clone from itself- Specified by:
clonein interfaceRuleConditionElement- Specified by:
clonein classConditionalElement- Returns:
-
getInnerDeclarations
Description copied from interface:RuleConditionElementReturns a Map of declarations that are visible inside this conditional element- Specified by:
getInnerDeclarationsin interfaceRuleConditionElement- Returns:
-
getOuterDeclarations
Description copied from interface:RuleConditionElementReturns a Map of declarations that are visible outside this conditional element.- Specified by:
getOuterDeclarationsin interfaceRuleConditionElement- Returns:
-
resolveDeclaration
Description copied from interface:RuleConditionElementResolves the given identifier in the current scope and returns the Declaration object for the declaration. Returns null if identifier can not be resolved.- Specified by:
resolveDeclarationin interfaceRuleConditionElement- Returns:
-
getNestedElements
Description copied from interface:RuleConditionElementReturs a list of RuleConditionElement's that are nested inside the current element- Specified by:
getNestedElementsin interfaceRuleConditionElement- Returns:
-
isPatternScopeDelimiter
public boolean isPatternScopeDelimiter()Description copied from interface:RuleConditionElementReturns 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- Specified by:
isPatternScopeDelimiterin interfaceRuleConditionElement- Returns:
-
setResultPattern
-
getResultPattern
-
getResultClass
-
setResultClass
-
requiresLeftActivation
public boolean requiresLeftActivation()- Specified by:
requiresLeftActivationin interfacePatternSource
-