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
ConstructorsModifierConstructorDescriptionprotected
PluginInformation
(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
Description copied from interface:IPluginInformation
Get the plugin name.- Specified by:
getName
in interfaceIPluginInformation
- Returns:
- the optional name
-
getDescription
Description copied from interface:IPluginInformation
Get the plugin description.- Specified by:
getDescription
in interfaceIPluginInformation
- Returns:
- the optional description string
-
getAuthor
Description copied from interface:IPluginInformation
Get the plugin author information.- Specified by:
getAuthor
in interfaceIPluginInformation
- Returns:
- the optional author information
-
getVersion
Description copied from interface:IPluginInformation
Get the plugin version.- Specified by:
getVersion
in interfaceIPluginInformation
- Returns:
- the optional version
-
getMinimumCoreVersion
Description copied from interface:IPluginInformation
Get the minimum version of JEB core required to run this plugin.- Specified by:
getMinimumCoreVersion
in interfaceIPluginInformation
- Returns:
- the optional version
-
getMaximumCoreVersion
Description copied from interface:IPluginInformation
Get the maximum version of JEB core required to run this plugin.- Specified by:
getMaximumCoreVersion
in interfaceIPluginInformation
- Returns:
- the optional version
-
toString
-