|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.rule.ConditionalElement
org.drools.rule.Collect
public class Collect
| Constructor Summary | |
|---|---|
Collect()
|
|
Collect(Pattern sourcePattern,
Pattern resultPattern)
|
|
| Method Summary | |
|---|---|
Collect |
clone()
Returns a clone from itself |
Map |
getInnerDeclarations()
Returns a Map of declarations that are visible inside this conditional element |
List |
getNestedElements()
Returs a list of RuleConditionElement's that are nested inside the current element |
Map |
getOuterDeclarations()
Returns a Map of declarations that are visible outside this conditional element. |
Pattern |
getResultPattern()
|
Pattern |
getSourcePattern()
|
Collection<Object> |
instantiateResultObject(InternalWorkingMemory wm)
|
boolean |
isPatternScopeDelimiter()
Returns true in case this RuleConditionElement delimits a pattern visibility scope. |
void |
readExternal(ObjectInput in)
|
Declaration |
resolveDeclaration(String identifier)
Resolves the given identifier in the current scope and returns the Declaration object for the declaration. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Collect()
public Collect(Pattern sourcePattern,
Pattern resultPattern)
| Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic Collect clone()
RuleConditionElement
clone in interface RuleConditionElementclone in class ConditionalElementpublic Pattern getResultPattern()
public Pattern getSourcePattern()
public Collection<Object> instantiateResultObject(InternalWorkingMemory wm)
throws RuntimeDroolsException
RuntimeDroolsExceptionpublic Map getInnerDeclarations()
RuleConditionElement
getInnerDeclarations in interface RuleConditionElementpublic Map getOuterDeclarations()
RuleConditionElement
getOuterDeclarations in interface RuleConditionElementpublic Declaration resolveDeclaration(String identifier)
RuleConditionElement
resolveDeclaration in interface RuleConditionElementpublic List getNestedElements()
RuleConditionElement
getNestedElements in interface RuleConditionElementpublic boolean isPatternScopeDelimiter()
RuleConditionElement
isPatternScopeDelimiter in interface RuleConditionElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||