Class StandardResourceContext
java.lang.Object
org.apache.nifi.components.resource.StandardResourceContext
- All Implemented Interfaces:
ResourceContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PropertyDescriptor
private final ResourceReferenceFactory
-
Constructor Summary
ConstructorsConstructorDescriptionStandardResourceContext
(ResourceReferenceFactory resourceReferenceFactory, PropertyDescriptor propertyDescriptor) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
resourceReferenceFactory
-
propertyDescriptor
-
-
Constructor Details
-
StandardResourceContext
public StandardResourceContext(ResourceReferenceFactory resourceReferenceFactory, PropertyDescriptor propertyDescriptor)
-
-
Method Details
-
getResourceReferenceFactory
- Specified by:
getResourceReferenceFactory
in interfaceResourceContext
- Returns:
- a ResourceReferenceFactory that can be used to parse a property value into a
ResourceReference
orResourceReferences
-
getPropertyDescriptor
- Specified by:
getPropertyDescriptor
in interfaceResourceContext
- Returns:
- the PropertyDescriptor that describes the property whose value may be a resource
-