public class EnumConfigDescriptionEntry extends ConfigDescriptionEntry
Constructor and Description |
---|
EnumConfigDescriptionEntry(String keyName)
Creates a new enumeration description entry for the given configuration key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Checks whether the given object is equal to this config description entry.
|
String[] |
getOptions()
Returns all options from this entry as array.
|
int |
hashCode()
Computes an hashcode for this object.
|
void |
setOptions(String[] options)
Defines all options for this entry.
|
getDescription, getKeyName, isGlobal, isHidden, setDescription, setGlobal, setHidden
public EnumConfigDescriptionEntry(String keyName)
keyName
- the keyname of this entry.public String[] getOptions()
public void setOptions(String[] options)
options
- the selectable values for this entry.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()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.