public class ClassChoice extends AbstractReflectedChoice
The GNU Lesser General Public License for details.| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
log
The log stream
|
| Constructor and Description |
|---|
ClassChoice() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToObject(String orig)
Convert from a stored string to an object to use with reflection
|
String |
convertToString(Object orig)
Convert from a reflection return value to a String for storage
|
Class<?> |
getConversionClass()
The class that this Choice works on.
|
getFullPath, getHelpText, getKey, getString, getType, init, isHidden, isIgnored, isSaveable, requiresRestart, setFullPath, setHelpText, setStringpublic Class<?> getConversionClass()
Choicepublic String convertToString(Object orig)
AbstractReflectedChoiceconvertToString in class AbstractReflectedChoiceorig - the object to be converted to a stringpublic Object convertToObject(String orig)
AbstractReflectedChoiceconvertToObject in class AbstractReflectedChoiceorig - the marshaled representation of the object