Package org.apache.nifi.flow.resource
Interface ExternalResourceProvider
public interface ExternalResourceProvider
Represents an external source where the resource files might be acquired from. These external resources might be
various: database drivers, different kind of configurations and so on.
-
Method Summary
Modifier and TypeMethodDescriptionfetchExternalResource
(ExternalResourceDescriptor descriptor) Fetches the resource determined by the descriptor.void
Initializes the External Resource Provider based on the given set of properties.Performs a listing of all resources that are available.
-
Method Details
-
initialize
Initializes the External Resource Provider based on the given set of properties. -
listResources
Performs a listing of all resources that are available.- Throws:
IOException
-
fetchExternalResource
Fetches the resource determined by the descriptor. This usually happens based onExternalResourceDescriptor#getLocation
but implementations might differ.- Throws:
IOException
-