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
    • Field Summary

      • Fields inherited from interface org.apache.commons.cli.Converter

        CLASS, DATE, DEFAULT, FILE, NUMBER, OBJECT, PATH, URL
    • Method Detail

      • getPossibleValues

        Map<String,​org.springframework.context.MessageSourceResolvable> getPossibleValues()
        Obtain a list of possible values that the converter can convert to EnumeratedConverter.

        Implementation should use either a SortedMap or LinkedHashMap for reproducibility.