Package org.pf4j
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 PluginDescriptor
createPluginDescriptor
(Manifest manifest) protected DefaultPluginDescriptor
protected Path
getManifestPath
(Path pluginPath) boolean
isApplicable
(Path pluginPath) Returns true if this finder is applicable to the givenPath
.protected Manifest
readManifest
(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:PluginDescriptorFinder
Returns true if this finder is applicable to the givenPath
.- Specified by:
isApplicable
in interfacePluginDescriptorFinder
-
find
- Specified by:
find
in interfacePluginDescriptorFinder
-
readManifest
-
getManifestPath
-
createPluginDescriptor
-
createPluginDescriptorInstance
-