Class NiFiRegistryExtensionBundleMetadata

java.lang.Object
org.apache.nifi.registry.extension.AbstractExtensionBundleMetadata
org.apache.nifi.registry.extension.NiFiRegistryExtensionBundleMetadata
All Implemented Interfaces:
ExtensionBundleMetadata

public class NiFiRegistryExtensionBundleMetadata extends AbstractExtensionBundleMetadata
NiFi Registry implementation of ExtensionBundleMetadata which adds bundleIdentifier to the fields.
  • Field Details

    • SEPARATOR

      private static final String SEPARATOR
      See Also:
    • LOCATION_FORMAT

      private static final String LOCATION_FORMAT
    • bundleIdentifier

      private final String bundleIdentifier
  • Constructor Details

  • Method Details

    • getBundleIdentifier

      public String getBundleIdentifier()
    • toLocationString

      public String toLocationString()
      Returns:
      a location string that will be returned from a NarProvider and passed back to the fetch method, also serves as the filename used by the NarProvider
    • fromLocationString

      public static NiFiRegistryExtensionBundleMetadata.Builder fromLocationString(String location)
      Creates a new Builder from parsing a location string.
      Parameters:
      location - the location string
      Returns:
      a builder populated from the location string