Package org.jivesoftware.openfire.update
Class AvailablePlugin
java.lang.Object
org.jivesoftware.openfire.container.PluginMetadata
org.jivesoftware.openfire.update.AvailablePlugin
Plugin available at igniterealtime.org. The plugin may or may not be locally installed.
- Author:
- Gaston Dombiak
-
Constructor Summary
ConstructorsConstructorDescriptionAvailablePlugin(String name, String canonicalName, String description, Version latestVersion, String author, URL icon, URL changelog, URL readme, String license, Version minServerVersion, Version priorToServerVersion, JavaSpecVersion minJavaVersion, URL downloadUrl, long fileSize, String releaseDate) -
Method Summary
Modifier and TypeMethodDescriptionURL from where the latest version of the plugin can be downloaded.longReturns the size in bytes of the plugin jar file.static AvailablePlugingetInstance(org.dom4j.Element plugin) Methods inherited from class org.jivesoftware.openfire.container.PluginMetadata
getAuthor, getCanonicalName, getChangelog, getDescription, getHashCode, getIcon, getInstance, getInstance, getLicense, getMinJavaVersion, getMinServerVersion, getName, getPriorToServerVersion, getReadme, getVersion, isCsrfProtectionEnabled
-
Constructor Details
-
AvailablePlugin
public AvailablePlugin(String name, String canonicalName, String description, Version latestVersion, String author, URL icon, URL changelog, URL readme, String license, Version minServerVersion, Version priorToServerVersion, JavaSpecVersion minJavaVersion, URL downloadUrl, long fileSize, String releaseDate)
-
-
Method Details
-
getInstance
-
getDownloadURL
URL from where the latest version of the plugin can be downloaded.- Returns:
- download URL.
-
getFileSize
public long getFileSize()Returns the size in bytes of the plugin jar file.- Returns:
- the size in bytes of the plugin jar file.
-
getReleaseDate
- Returns:
- the date the plugin was released
-