public class FactoryParametersKey extends Object implements ObjectKey<String>
The parameters are stored as metadata on the extensions file that
loaded the extensions and can be accessed via
ExtensionsFile.getMetadata(ObjectKey)
. The returned value is
an XML representation of the parameters as they appear in the
definitions file.
The key is the factory instance itself.
Constructor and Description |
---|
FactoryParametersKey(Object factory)
Create a new key for the given factory.
|
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 Object factory
public FactoryParametersKey(Object factory)
factory
- The factory (required)public String toDescription()
ObjectKey
toDescription
in interface ObjectKey<String>