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 Type
    Method
    Description
    Map<String,org.springframework.context.MessageSourceResolvable>
    Obtain a list of possible values that the converter can convert to EnumeratedConverter.

    Methods inherited from interface org.apache.commons.cli.Converter

    apply
  • Method Details

    • 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.