Package com.pnfsoftware.jeb.core
Class PluginInformation
java.lang.Object
com.pnfsoftware.jeb.core.PluginInformation
- All Implemented Interfaces:
IPluginInformation
- Direct Known Subclasses:
EditablePluginInformation
Standard implementation of a plugin information object.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPluginInformation(String name, String description, String author, Version version) Create a new plugin information object, without specifying JEB core version requirements.PluginInformation(String name, String description, String author, Version version, Version minCoreVersion) Create a new plugin information objects.PluginInformation(String name, String description, String author, Version version, Version minCoreVersion, Version maxCoreVersion) Create a new plugin information objects. -
Method Summary
-
Field Details
-
name
-
description
-
author
-
version
-
minCoreVersion
-
maxCoreVersion
-
-
Constructor Details
-
PluginInformation
public PluginInformation(String name, String description, String author, Version version, Version minCoreVersion, Version maxCoreVersion) Create a new plugin information objects. All fields are optional.- Parameters:
name- plugin namedescription- plugin descriptionauthor- plugin author (individual or company)version- plugin versionminCoreVersion- optional minimal version of the back-end requested to run the pluginmaxCoreVersion- optional maximum version of the back-end requested to run the plugin
-
PluginInformation
public PluginInformation(String name, String description, String author, Version version, Version minCoreVersion) Create a new plugin information objects.- Parameters:
name- plugin namedescription- plugin descriptionauthor- plugin author (individual or company)version- plugin versionminCoreVersion- optional minimal version of the back-end requested to run the plugin
-
PluginInformation
Create a new plugin information object, without specifying JEB core version requirements. All fields are optional.- Parameters:
name- plugin namedescription- plugin descriptionauthor- plugin authorversion- plugin version
-
PluginInformation
protected PluginInformation()
-
-
Method Details
-
getName
Get the plugin name.- Specified by:
getNamein interfaceIPluginInformation- Returns:
- plugin name, or null if unnamed
-
getDescription
Get the plugin description.- Specified by:
getDescriptionin interfaceIPluginInformation- Returns:
- plugin description, or null if absent
-
getAuthor
Get the plugin author.- Specified by:
getAuthorin interfaceIPluginInformation- Returns:
- plugin author, or null if absent
-
getVersion
Get the plugin version.- Specified by:
getVersionin interfaceIPluginInformation- Returns:
- plugin version, or null if absent
-
getMinimumCoreVersion
Get the minimum required core version.- Specified by:
getMinimumCoreVersionin interfaceIPluginInformation- Returns:
- minimum core version, or null if unspecified
-
getMaximumCoreVersion
Get the maximum supported core version.- Specified by:
getMaximumCoreVersionin interfaceIPluginInformation- Returns:
- maximum core version, or null if unspecified
-
toString
-