public final class Plugin
extends Object
| Constructor and Description |
|---|
Plugin(String id,
String name,
boolean isMarketPlugin,
String version,
String description)
Creates a new
Plugin instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription()
The description of the plug-in.
|
String |
getId()
The Plugin ID.
|
String |
getName()
The name of the Plugin.
|
String |
getVersion()
The version number of the plug-in.
|
int |
hashCode() |
boolean |
isMarketPlugin()
States whether or not the plug-in is a Marketplace plug-in.
|
String |
toString() |
@ConstructorProperties(value={"id","name","isMarketPlugin","version","description"})
public Plugin(String id,
String name,
boolean isMarketPlugin,
String version,
String description)
Plugin instance.id - The Plugin ID.name - The name of the Plugin.isMarketPlugin - States whether or not the plug-in is a Marketplace plug-in.version - The version number of the plug-in.description - The description of the plug-in. Returns an empty string when not set.public String getId()
public String getName()
public boolean isMarketPlugin()
public String getVersion()
public String getDescription()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object