public class ExtensionPointKey extends Object implements ObjectKey<ExtensionPoint<?>>
ExtensionPoint
Constructor and Description |
---|
ExtensionPointKey(ExtensionPoint<?> ep)
Create a new key for an extension point.
|
ExtensionPointKey(String id)
Create a new key for an extension point with the given id.
|
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 id
public ExtensionPointKey(String id)
id
- The id (required)public ExtensionPointKey(ExtensionPoint<?> ep)
ep
- The extension point (required)public String toDescription()
ObjectKey
toDescription
in interface ObjectKey<ExtensionPoint<?>>