public abstract class PropertyLookup extends Object
| Modifier and Type | Field and Description |
|---|---|
private PropertyDescriptor |
propertyDescriptor |
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyLookup(PropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
getEnclosingObject(Object obj)
Returns the enclosing object of the property.
|
protected PropertyDescriptor |
getPropertyDescriptor() |
abstract Object |
getPropertyValue(String propertyKey,
Object obj)
Returns the value of a property.
|
private final PropertyDescriptor propertyDescriptor
protected PropertyLookup(PropertyDescriptor propertyDescriptor)
public abstract Object getPropertyValue(String propertyKey, Object obj)
propertyKey - The property key (e.g., object.child.propertyValue)obj - The object from which to retrieve the property.public abstract Object getEnclosingObject(Object obj)
obj - The top level objectprotected PropertyDescriptor getPropertyDescriptor()
Copyright © 2022 Apache NiFi Project. All rights reserved.