Package com.pnfsoftware.jeb.core
Class EditablePluginInformation
java.lang.Object
com.pnfsoftware.jeb.core.PluginInformation
com.pnfsoftware.jeb.core.EditablePluginInformation
- All Implemented Interfaces:
IPluginInformation
Editable plugins information offer setters to mutate some plugin-info properties such as the name
or description.
-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.PluginInformation
author, description, maxCoreVersion, minCoreVersion, name, version -
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty mutable plugin-information object.Create a mutable plugin-information object with a name. -
Method Summary
Modifier and TypeMethodDescriptionvoidSet the plugin author.voidsetDescription(String description) Set the plugin description.voidSet the plugin name.voidsetVersion(Version version) Set the plugin version.Methods inherited from class com.pnfsoftware.jeb.core.PluginInformation
getAuthor, getDescription, getMaximumCoreVersion, getMinimumCoreVersion, getName, getVersion, toString
-
Constructor Details
-
EditablePluginInformation
public EditablePluginInformation()Create an empty mutable plugin-information object. -
EditablePluginInformation
Create a mutable plugin-information object with a name.- Parameters:
name- plugin name
-
-
Method Details
-
setName
Set the plugin name.- Parameters:
name- plugin name
-
setDescription
Set the plugin description.- Parameters:
description- plugin description
-
setAuthor
Set the plugin author.- Parameters:
author- plugin author
-
setVersion
Set the plugin version.- Parameters:
version- plugin version
-