Package org.pf4j

Interface PluginDescriptorFinder

All Known Implementing Classes:
CompoundPluginDescriptorFinder, ManifestPluginDescriptorFinder, PropertiesPluginDescriptorFinder

public interface PluginDescriptorFinder
Find a plugin descriptor for a plugin path. You can find the plugin descriptor in manifest file ManifestPluginDescriptorFinder, properties file PropertiesPluginDescriptorFinder, xml file, java services (with ServiceLoader), etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    find(Path pluginPath)
     
    boolean
    isApplicable(Path pluginPath)
    Returns true if this finder is applicable to the given Path.
  • Method Details

    • isApplicable

      boolean isApplicable(Path pluginPath)
      Returns true if this finder is applicable to the given Path.
    • find

      PluginDescriptor find(Path pluginPath)