public class FactoryParametersKey extends java.lang.Object implements ObjectKey<java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
factory |
Constructor and Description |
---|
FactoryParametersKey(java.lang.Object factory)
Create a new key for the given factory.
|
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 FactoryParametersKey(java.lang.Object factory)
factory
- The factory (required)public java.lang.String toDescription()
ObjectKey
toDescription
in interface ObjectKey<java.lang.String>
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