Class PluginMetadata
java.lang.Object
org.jivesoftware.openfire.container.PluginMetadata
- Direct Known Subclasses:
AvailablePlugin
A bean-like representation of the metadata of a plugin.
- Author:
- Guus der Kinderen, guus.der.kinderen@gmail.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
static PluginMetadata
getInstance
(Path pluginDir) Constructs a metadata object based on a plugin.static PluginMetadata
getInstance
(Plugin plugin) Constructs a metadata object based on a plugin.getName()
boolean
-
Constructor Details
-
PluginMetadata
-
-
Method Details
-
getInstance
Constructs a metadata object based on a plugin. The plugin must be installed in Openfire.- Parameters:
pluginDir
- the path of the plugin directory (cannot be null)- Returns:
- Metadata for the plugin (never null).
-
getInstance
Constructs a metadata object based on a plugin. The plugin must be installed in Openfire.- Parameters:
plugin
- The plugin (cannot be null)- Returns:
- Metadata for the plugin (never null).
-
getName
-
getCanonicalName
-
getDescription
-
getVersion
-
getAuthor
-
getIcon
-
getChangelog
-
getReadme
-
getLicense
-
getMinServerVersion
-
getPriorToServerVersion
-
getMinJavaVersion
-
getHashCode
-
isCsrfProtectionEnabled
public boolean isCsrfProtectionEnabled()
-