public class MVELDataProvider extends Object implements DataProvider, MVELCompileable, Externalizable
Constructor and Description |
---|
MVELDataProvider() |
MVELDataProvider(MVELCompilationUnit unit,
String id) |
Modifier and Type | Method and Description |
---|---|
DataProvider |
clone() |
void |
compile(MVELDialectRuntimeData runtimeData) |
void |
compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
Object |
createContext() |
boolean |
equals(Object obj) |
Declaration[] |
getRequiredDeclarations() |
Iterator |
getResults(Tuple tuple,
InternalWorkingMemory wm,
PropagationContext ctx,
Object executionContext) |
int |
hashCode() |
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
public DataProvider clone()
clone
in interface DataProvider
clone
in class Object
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.