Class ManifestPluginDescriptorFinder
java.lang.Object
org.pf4j.ManifestPluginDescriptorFinder
- All Implemented Interfaces:
PluginDescriptorFinder
Read the plugin descriptor from the manifest file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PluginDescriptorcreatePluginDescriptor(Manifest manifest) protected DefaultPluginDescriptorprotected PathgetManifestPath(Path pluginPath) booleanisApplicable(Path pluginPath) Returns true if this finder is applicable to the givenPath.protected ManifestreadManifest(Path pluginPath)
-
Field Details
-
log
private static final org.slf4j.Logger log -
PLUGIN_ID
- See Also:
-
PLUGIN_DESCRIPTION
- See Also:
-
PLUGIN_CLASS
- See Also:
-
PLUGIN_VERSION
- See Also:
-
PLUGIN_PROVIDER
- See Also:
-
PLUGIN_DEPENDENCIES
- See Also:
-
PLUGIN_REQUIRES
- See Also:
-
PLUGIN_LICENSE
- See Also:
-
-
Constructor Details
-
ManifestPluginDescriptorFinder
public ManifestPluginDescriptorFinder()
-
-
Method Details
-
isApplicable
Description copied from interface:PluginDescriptorFinderReturns true if this finder is applicable to the givenPath.- Specified by:
isApplicablein interfacePluginDescriptorFinder
-
find
- Specified by:
findin interfacePluginDescriptorFinder
-
readManifest
-
getManifestPath
-
createPluginDescriptor
-
createPluginDescriptorInstance
-