public class MVELDataProvider extends Object implements DataProvider, MVELCompileable, Externalizable
| Constructor and Description |
|---|
MVELDataProvider() |
MVELDataProvider(MVELCompilationUnit unit,
String id) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator |
asIterator(Object result) |
DataProvider |
clone() |
void |
compile(MVELDialectRuntimeData runtimeData) |
void |
compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
Object |
createContext() |
boolean |
equals(Object obj) |
protected Object |
evaluate(Tuple tuple,
InternalWorkingMemory wm) |
Declaration[] |
getRequiredDeclarations() |
Iterator |
getResults(Tuple tuple,
InternalWorkingMemory wm,
PropagationContext ctx,
Object executionContext) |
int |
hashCode() |
boolean |
isReactive() |
void |
readExternal(ObjectInput in) |
void |
replaceDeclaration(Declaration declaration,
Declaration resolved) |
void |
writeExternal(ObjectOutput out) |
public MVELDataProvider()
public MVELDataProvider(MVELCompilationUnit unit, String id)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void compile(MVELDialectRuntimeData runtimeData)
compile in interface MVELCompileablepublic void compile(MVELDialectRuntimeData runtimeData, RuleImpl rule)
compile in interface MVELCompileablepublic Declaration[] getRequiredDeclarations()
getRequiredDeclarations in interface DataProviderpublic void replaceDeclaration(Declaration declaration, Declaration resolved)
replaceDeclaration in interface DataProviderpublic Object createContext()
createContext in interface DataProviderpublic Iterator getResults(Tuple tuple, InternalWorkingMemory wm, PropagationContext ctx, Object executionContext)
getResults in interface DataProviderprotected Object evaluate(Tuple tuple, InternalWorkingMemory wm)
public DataProvider clone()
clone in interface DataProviderclone in class Objectpublic boolean isReactive()
isReactive in interface DataProviderCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.