public class MVELDataProvider extends Object implements org.drools.core.spi.DataProvider, MVELCompileable, Externalizable
| Constructor and Description |
|---|
MVELDataProvider() |
MVELDataProvider(MVELCompilationUnit unit,
String id) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator |
asIterator(Object result) |
org.drools.core.spi.DataProvider |
clone() |
void |
compile(MVELDialectRuntimeData runtimeData) |
void |
compile(MVELDialectRuntimeData runtimeData,
org.drools.core.definitions.rule.impl.RuleImpl rule) |
Object |
createContext() |
boolean |
equals(Object obj) |
protected Object |
evaluate(org.drools.core.spi.Tuple tuple,
org.drools.core.common.InternalWorkingMemory wm) |
org.drools.core.rule.Declaration[] |
getRequiredDeclarations() |
Iterator |
getResults(org.drools.core.spi.Tuple tuple,
org.drools.core.common.InternalWorkingMemory wm,
org.drools.core.spi.PropagationContext ctx,
Object executionContext) |
int |
hashCode() |
boolean |
isReactive() |
void |
readExternal(ObjectInput in) |
void |
replaceDeclaration(org.drools.core.rule.Declaration declaration,
org.drools.core.rule.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, org.drools.core.definitions.rule.impl.RuleImpl rule)
compile in interface MVELCompileablepublic org.drools.core.rule.Declaration[] getRequiredDeclarations()
getRequiredDeclarations in interface org.drools.core.spi.DataProviderpublic void replaceDeclaration(org.drools.core.rule.Declaration declaration,
org.drools.core.rule.Declaration resolved)
replaceDeclaration in interface org.drools.core.spi.DataProviderpublic Object createContext()
createContext in interface org.drools.core.spi.DataProviderpublic Iterator getResults(org.drools.core.spi.Tuple tuple, org.drools.core.common.InternalWorkingMemory wm, org.drools.core.spi.PropagationContext ctx, Object executionContext)
getResults in interface org.drools.core.spi.DataProviderprotected Object evaluate(org.drools.core.spi.Tuple tuple, org.drools.core.common.InternalWorkingMemory wm)
public org.drools.core.spi.DataProvider clone()
public boolean isReactive()
isReactive in interface org.drools.core.spi.DataProviderCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.