public class FindModeParameter extends ChoiceParameter<PairMode>
Constructor and Description |
---|
FindModeParameter(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static String |
getModeDescription(PairMode mode)
Returns additional description for each given pair matching mode.
|
String |
stringifyOption(PairMode option)
Determines how an option will be represented as a string value of
this parameter if no name has explicitly been supplied.
|
getUsage, objectToString, setDefaultOption, setUsage, stringToObject
addOption, addOption, choiceToString, clearOptions, getName, getOption, getOptionNames, getOptions, getOptionValueList, stringToChoice
clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getValueClass, isNullPermitted, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toString
public FindModeParameter(String name)
name
- parameter namepublic String stringifyOption(PairMode option)
AbstractChoiceParameter
String.valueOf(option)
,
but this may be overrridden.stringifyOption
in class AbstractChoiceParameter<PairMode,PairMode>
option
- option valueCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.