Package org.drools.core.rule
Class AsyncSend
- java.lang.Object
-
- org.drools.core.rule.ConditionalElement
-
- org.drools.core.rule.AsyncSend
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,java.lang.Cloneable,PatternSource,RuleComponent,RuleConditionElement
public class AsyncSend extends ConditionalElement implements PatternSource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AsyncSend(Pattern resultPattern, java.lang.String messageId, DataProvider dataProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionalElementclone()Returns a clone from itselfDataProvidergetDataProvider()java.util.Map<java.lang.String,Declaration>getInnerDeclarations()Returns a Map of declarations that are visible inside this conditional elementjava.lang.StringgetMessageId()java.util.List<? extends RuleConditionElement>getNestedElements()Returs a list of RuleConditionElement's that are nested inside the current elementjava.util.Map<java.lang.String,Declaration>getOuterDeclarations()Returns a Map of declarations that are visible outside this conditional element.java.lang.Class<?>getResultClass()PatterngetResultPattern()booleanisPatternScopeDelimiter()Returns true in case this RuleConditionElement delimits a pattern visibility scope.voidreadExternal(java.io.ObjectInput in)booleanrequiresLeftActivation()DeclarationresolveDeclaration(java.lang.String identifier)Resolves the given identifier in the current scope and returns the Declaration object for the declaration.voidwriteExternal(java.io.ObjectOutput out)
-
-
-
Constructor Detail
-
AsyncSend
public AsyncSend(Pattern resultPattern, java.lang.String messageId, DataProvider dataProvider)
-
-
Method Detail
-
getMessageId
public java.lang.String getMessageId()
-
getDataProvider
public DataProvider getDataProvider()
-
getInnerDeclarations
public java.util.Map<java.lang.String,Declaration> getInnerDeclarations()
Description copied from interface:RuleConditionElementReturns a Map of declarations that are visible inside this conditional element- Specified by:
getInnerDeclarationsin interfaceRuleConditionElement- Returns:
-
getOuterDeclarations
public java.util.Map<java.lang.String,Declaration> getOuterDeclarations()
Description copied from interface:RuleConditionElementReturns a Map of declarations that are visible outside this conditional element.- Specified by:
getOuterDeclarationsin interfaceRuleConditionElement- Returns:
-
resolveDeclaration
public Declaration resolveDeclaration(java.lang.String identifier)
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:
-
clone
public ConditionalElement clone()
Description copied from interface:RuleConditionElementReturns a clone from itself- Specified by:
clonein interfaceRuleConditionElement- Specified by:
clonein classConditionalElement- Returns:
-
getNestedElements
public java.util.List<? extends RuleConditionElement> 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:
-
requiresLeftActivation
public boolean requiresLeftActivation()
- Specified by:
requiresLeftActivationin interfacePatternSource
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
writeExternalin interfacejava.io.Externalizable- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readExternalin interfacejava.io.Externalizable- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
getResultPattern
public Pattern getResultPattern()
-
getResultClass
public java.lang.Class<?> getResultClass()
-
-