public final class Plugin
extends Object
Constructor and Description |
---|
Plugin(String id,
String name,
boolean isMarketPlugin,
String version)
Creates a new
Plugin instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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"}) public Plugin(String id, String name, boolean isMarketPlugin, String version)
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.public String getId()
public String getName()
public boolean isMarketPlugin()
public String getVersion()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object