public class ValuePropertyLookup extends PropertyLookup
| Constructor and Description |
|---|
ValuePropertyLookup(PropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getEnclosingObject(Object obj)
Returns the enclosing object of the property.
|
Object |
getPropertyValue(String propertyKey,
Object obj)
Returns the value of a property.
|
getPropertyDescriptorpublic ValuePropertyLookup(PropertyDescriptor propertyDescriptor)
public Object getPropertyValue(String propertyKey, Object obj)
PropertyLookupgetPropertyValue in class PropertyLookuppropertyKey - The property key (e.g., object.child.propertyValue)obj - The object from which to retrieve the property.public Object getEnclosingObject(Object obj)
PropertyLookupgetEnclosingObject in class PropertyLookupobj - The top level objectCopyright © 2022 Apache NiFi Project. All rights reserved.