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 Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void compile(MVELDialectRuntimeData runtimeData)
compile
in interface MVELCompileable
public void compile(MVELDialectRuntimeData runtimeData, RuleImpl rule)
compile
in interface MVELCompileable
public Declaration[] getRequiredDeclarations()
getRequiredDeclarations
in interface DataProvider
public void replaceDeclaration(Declaration declaration, Declaration resolved)
replaceDeclaration
in interface DataProvider
public Object createContext()
createContext
in interface DataProvider
public Iterator getResults(Tuple tuple, InternalWorkingMemory wm, PropagationContext ctx, Object executionContext)
getResults
in interface DataProvider
protected Object evaluate(Tuple tuple, InternalWorkingMemory wm)
public DataProvider clone()
clone
in interface DataProvider
clone
in class Object
public boolean isReactive()
isReactive
in interface DataProvider
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.