Package com.linkedin.feathr.offline.mvel
Class MvelContext.GenericRecordPropertyHandler
java.lang.Object
com.linkedin.feathr.offline.mvel.MvelContext.GenericRecordPropertyHandler
- All Implemented Interfaces:
org.mvel2.integration.PropertyHandler
- Enclosing class:
- MvelContext
public static final class MvelContext.GenericRecordPropertyHandler
extends Object
implements org.mvel2.integration.PropertyHandler
Allows easy access to the properties of GenericRecord object from MVEL.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name, Object contextObj, org.mvel2.integration.VariableResolverFactory variableFactory) setProperty(String name, Object contextObj, org.mvel2.integration.VariableResolverFactory variableFactory, Object value)
-
Field Details
-
INSTANCE
-
-
Method Details
-
getProperty
public Object getProperty(String name, Object contextObj, org.mvel2.integration.VariableResolverFactory variableFactory) - Specified by:
getPropertyin interfaceorg.mvel2.integration.PropertyHandler
-
setProperty
public Object setProperty(String name, Object contextObj, org.mvel2.integration.VariableResolverFactory variableFactory, Object value) - Specified by:
setPropertyin interfaceorg.mvel2.integration.PropertyHandler
-