Package org.pf4j
Interface PluginDescriptorFinder
-
- All Known Implementing Classes:
CompoundPluginDescriptorFinder,ManifestPluginDescriptorFinder,PropertiesPluginDescriptorFinder
public interface PluginDescriptorFinderFind a plugin descriptor for a plugin path. You can find the plugin descriptor in manifest fileManifestPluginDescriptorFinder, properties filePropertiesPluginDescriptorFinder, xml file, java services (withServiceLoader), etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluginDescriptorfind(java.nio.file.Path pluginPath)booleanisApplicable(java.nio.file.Path pluginPath)Returns true if this finder is applicable to the givenPath.
-
-
-
Method Detail
-
isApplicable
boolean isApplicable(java.nio.file.Path pluginPath)
Returns true if this finder is applicable to the givenPath.
-
find
PluginDescriptor find(java.nio.file.Path pluginPath)
-
-