Package ubic.gemma.cli.util
Interface EnumeratedConverter<T,E extends Throwable>
-
- All Superinterfaces:
org.apache.commons.cli.Converter<T,E>
- All Known Implementing Classes:
EnumConverter
,EnumeratedStringConverter
public interface EnumeratedConverter<T,E extends Throwable> extends org.apache.commons.cli.Converter<T,E>
This interface is implemented by converters that can enumerate their possible values.- Author:
- poirigui
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,org.springframework.context.MessageSourceResolvable>
getPossibleValues()
Obtain a list of possible values that the converter can convert toEnumeratedConverter
.
-
-
-
Method Detail
-
getPossibleValues
Map<String,org.springframework.context.MessageSourceResolvable> getPossibleValues()
Obtain a list of possible values that the converter can convert toEnumeratedConverter
.Implementation should use either a
SortedMap
orLinkedHashMap
for reproducibility.
-
-