Package ubic.gemma.cli.util
Interface EnumeratedConverter<T,E extends Exception>
- All Superinterfaces:
org.apache.commons.cli.Converter<T,
E>
- All Known Implementing Classes:
EnumConverter
,EnumeratedStringConverter
public interface EnumeratedConverter<T,E extends Exception>
extends org.apache.commons.cli.Converter<T,E>
This interface is implemented by converters that can enumerate their possible values.
- Author:
- poirigui
-
Field Summary
Fields inherited from interface org.apache.commons.cli.Converter
CLASS, DATE, DEFAULT, FILE, NUMBER, OBJECT, PATH, URL
-
Method Summary
Modifier and TypeMethodDescriptionObtain a list of possible values that the converter can convert toEnumeratedConverter
.Methods inherited from interface org.apache.commons.cli.Converter
apply
-
Method Details
-
getPossibleValues
Obtain a list of possible values that the converter can convert toEnumeratedConverter
.Implementation should use either a
SortedMap
orLinkedHashMap
for reproducibility.
-