public class ClassConfigDescriptionEntry extends ConfigDescriptionEntry
Constructor and Description |
---|
ClassConfigDescriptionEntry(String keyName)
Creates a new config description entry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Checks whether the given object is equal to this config description entry.
|
Class |
getBaseClass()
Returns the base class used to verify the configuration values.
|
int |
hashCode()
Computes an hashcode for this object.
|
void |
setBaseClass(Class baseClass)
Defines the base class for this configuration entry.
|
getDescription, getKeyName, isGlobal, isHidden, setDescription, setGlobal, setHidden
public ClassConfigDescriptionEntry(String keyName)
keyName
- the full name of the key.public Class getBaseClass()
public void setBaseClass(Class baseClass)
baseClass
- the base class, never null.public boolean equals(Object o)
ConfigDescriptionEntry
equals
in class ConfigDescriptionEntry
o
- the other object.Object.equals(Object)
public int hashCode()
ConfigDescriptionEntry
hashCode
in class ConfigDescriptionEntry
Object.hashCode()