public class MVELCompilationUnit extends Object implements Externalizable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
MVELCompilationUnit.DroolsVarFactory |
static class |
MVELCompilationUnit.PropertyHandlerFactoryFixer |
static class |
MVELCompilationUnit.Scope |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,org.mvel2.integration.Interceptor> |
INTERCEPTORS |
| Constructor and Description |
|---|
MVELCompilationUnit() |
MVELCompilationUnit(String name,
String expression,
String[] globalIdentifiers,
EvaluatorWrapper[] operators,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
String[] otherIdentifiers,
String[] inputIdentifiers,
String[] inputTypes,
int languageLevel,
boolean strictMode,
boolean readLocalsFromTuple) |
| Modifier and Type | Method and Description |
|---|---|
MVELCompilationUnit |
clone() |
org.mvel2.integration.VariableResolverFactory |
createFactory() |
boolean |
equals(Object obj) |
Serializable |
getCompiledExpression(MVELDialectRuntimeData runtimeData) |
Serializable |
getCompiledExpression(MVELDialectRuntimeData runtimeData,
Object evaluationContext) |
String |
getExpression() |
static InternalFactHandle |
getFactHandle(Declaration declaration,
InternalFactHandle[] handles) |
org.mvel2.integration.VariableResolverFactory |
getFactory(Object knowledgeHelper,
Declaration[] prevDecl,
org.kie.api.definition.rule.Rule rule,
InternalFactHandle rightHandle,
Tuple tuple,
Object[] otherVars,
InternalWorkingMemory workingMemory,
GlobalResolver globals) |
org.mvel2.integration.VariableResolverFactory |
getFactory(Object knowledgeHelper,
Declaration[] prevDecl,
org.kie.api.definition.rule.Rule rule,
Tuple tuples,
Object[] otherVars,
InternalWorkingMemory workingMemory,
GlobalResolver globals) |
String[] |
getGlobalIdentifiers() |
String[] |
getInputIdentifiers() |
String[] |
getInputTypes() |
static Map |
getInterceptors() |
int |
getLanguageLevel() |
Declaration[] |
getLocalDeclarations() |
String |
getName() |
String[] |
getOtherIdentifiers() |
Declaration[] |
getPreviousDeclarations() |
static Map<String,Class<?>> |
getPrimitivesmap() |
static long |
getSerialversionuid() |
int |
hashCode() |
boolean |
isStrictMode() |
static Class |
loadClass(ClassLoader classLoader,
String className) |
void |
readExternal(ObjectInput in) |
void |
replaceDeclaration(Declaration declaration,
Declaration resolved) |
void |
setPreviousDeclarations(Declaration[] previousDeclarations) |
String |
toString() |
void |
updateFactory(Object knowledgeHelper,
Declaration[] prevDecl,
org.kie.api.definition.rule.Rule rule,
InternalFactHandle rightHandle,
Object rightObject,
Tuple tuple,
Object[] otherVars,
InternalWorkingMemory workingMemory,
GlobalResolver globals,
org.mvel2.integration.VariableResolverFactory factory) |
void |
updateFactory(Object knowledgeHelper,
org.kie.api.definition.rule.Rule rule,
InternalFactHandle rightHandle,
Tuple tuple,
Object[] localVars,
InternalWorkingMemory workingMemory,
GlobalResolver globalResolver,
org.mvel2.integration.VariableResolverFactory factory) |
void |
writeExternal(ObjectOutput out) |
public MVELCompilationUnit()
public MVELCompilationUnit(String name, String expression, String[] globalIdentifiers, EvaluatorWrapper[] operators, Declaration[] previousDeclarations, Declaration[] localDeclarations, String[] otherIdentifiers, String[] inputIdentifiers, String[] inputTypes, int languageLevel, boolean strictMode, boolean readLocalsFromTuple)
public String getExpression()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic Serializable getCompiledExpression(MVELDialectRuntimeData runtimeData)
public Serializable getCompiledExpression(MVELDialectRuntimeData runtimeData, Object evaluationContext)
public org.mvel2.integration.VariableResolverFactory createFactory()
public org.mvel2.integration.VariableResolverFactory getFactory(Object knowledgeHelper, Declaration[] prevDecl, org.kie.api.definition.rule.Rule rule, Tuple tuples, Object[] otherVars, InternalWorkingMemory workingMemory, GlobalResolver globals)
public org.mvel2.integration.VariableResolverFactory getFactory(Object knowledgeHelper, Declaration[] prevDecl, org.kie.api.definition.rule.Rule rule, InternalFactHandle rightHandle, Tuple tuple, Object[] otherVars, InternalWorkingMemory workingMemory, GlobalResolver globals)
public void updateFactory(Object knowledgeHelper, org.kie.api.definition.rule.Rule rule, InternalFactHandle rightHandle, Tuple tuple, Object[] localVars, InternalWorkingMemory workingMemory, GlobalResolver globalResolver, org.mvel2.integration.VariableResolverFactory factory)
public void updateFactory(Object knowledgeHelper, Declaration[] prevDecl, org.kie.api.definition.rule.Rule rule, InternalFactHandle rightHandle, Object rightObject, Tuple tuple, Object[] otherVars, InternalWorkingMemory workingMemory, GlobalResolver globals, org.mvel2.integration.VariableResolverFactory factory)
public static InternalFactHandle getFactHandle(Declaration declaration, InternalFactHandle[] handles)
public static Class loadClass(ClassLoader classLoader, String className) throws ClassNotFoundException
ClassNotFoundExceptionpublic void replaceDeclaration(Declaration declaration, Declaration resolved)
public MVELCompilationUnit clone()
public static long getSerialversionuid()
public String getName()
public String[] getGlobalIdentifiers()
public Declaration[] getPreviousDeclarations()
public void setPreviousDeclarations(Declaration[] previousDeclarations)
public Declaration[] getLocalDeclarations()
public String[] getOtherIdentifiers()
public String[] getInputIdentifiers()
public String[] getInputTypes()
public int getLanguageLevel()
public boolean isStrictMode()
public static Map getInterceptors()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.