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