public class PluginInfoKey extends java.lang.Object implements ObjectKey<PluginInfo>
PluginInfo
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
className |
Constructor and Description |
---|
PluginInfoKey(PluginInfo info)
Create a new key for an plug-in definition.
|
PluginInfoKey(java.lang.String className)
Create a new key for a plug-in with the given class name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toDescription()
Get a string description of the key that is suitable for use
in (error) messages to users.
|
java.lang.String |
toString() |
public PluginInfoKey(java.lang.String className)
className
- The class name (required)public PluginInfoKey(PluginInfo info)
info
- Information about the plug-in (required)public java.lang.String toDescription()
ObjectKey
toDescription
in interface ObjectKey<PluginInfo>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object