org.apache.nifi.flow.resource.ExternalResourceProvider
replaces this interface. External resource as
concept includes NARs from external sources but not limited to them. In order to have greater flexibility, the focus of future
implementations and improvements is suggested to be on the external resource approach. Existing implementations at the point of introducing
external resource concept support both interface families for compatibility reasons.@Deprecated public interface NarProvider
Modifier and Type | Method and Description |
---|---|
InputStream |
fetchNarContents(String location)
Deprecated.
Fetches the NAR at the given location.
|
void |
initialize(NarProviderInitializationContext context)
Deprecated.
Initializes the NAR Provider based on the given set of properties.
|
Collection<String> |
listNars()
Deprecated.
Performs a listing of all NAR's that are available.
|
void initialize(NarProviderInitializationContext context)
Collection<String> listNars() throws IOException
IOException
InputStream fetchNarContents(String location) throws IOException
listNars()
.IOException
Copyright © 2022 Apache NiFi Project. All rights reserved.