public class SkySysConfigKey extends OptionConfigKey<SkySys>
| Constructor | Description |
|---|---|
SkySysConfigKey(ConfigMeta meta,
boolean includeNull) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getXmlDescription(SkySys sys) |
Returns a description in XML of the given option value.
|
SkySys |
stringToValue(java.lang.String str) |
Calls
valueToString repeatedly looking for a match. |
java.lang.String |
valueToString(SkySys sys) |
Invokes the
toString method of the supplied option. |
cast, getDefaultValue, getMeta, getValueClass, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddOptionsXml, createSpecifier, getOptions, getOptionsXml, setOptionUsagepublic SkySysConfigKey(ConfigMeta meta, boolean includeNull)
meta - config key metadataincludeNull - true iff null is a permitted optionpublic java.lang.String valueToString(SkySys sys)
OptionConfigKeytoString method of the supplied option.
May be overridden.valueToString in class OptionConfigKey<SkySys>sys - possible value associated with this keypublic SkySys stringToValue(java.lang.String str) throws ConfigException
OptionConfigKeyvalueToString repeatedly looking for a match.
This means that if valueToString is overridden it
is usually not necessary to override this method.stringToValue in class OptionConfigKey<SkySys>str - string representation of valueConfigExceptionpublic java.lang.String getXmlDescription(SkySys sys)
OptionConfigKeyOptionConfigKey.valueToString(T),
is used by the OptionConfigKey.getOptionsXml() method to assemble
a described list of the options.getXmlDescription in class OptionConfigKey<SkySys>sys - possible value of this keyCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.